Summary|Tags|Feature:src/test/java/InspireTest/ngr/T02_Services.featureget details
Scenario Outline: [1.1:18]62c0d0a5-5826-406d-a625-d84bc5fec800
ms: 3485
>>
Background:
1
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
2
* def mystorage = Java.type('storage.DataStorage')
3
3
* def db = new mystorage
1
4
* def db = db.setfeature(karate.info.featureFileName)
1
5
* def separator = java.lang.System.getProperty("file.separator")
1
6
* def outputpath = db.outputpath()
1
7
* eval db.ensureDirectory(outputpath)
1
8
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
11
Given path 'geonetwork/srv/dut/inspire'
0
12
And param service = 'CSW'
0
13
And param version = '2.0.2'
0
14
And param request = 'GetRecordById'
0
15
And param id = '62c0d0a5-5826-406d-a625-d84bc5fec800'
1
16
And param elementsetname = 'full'
0
17
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
18
When method get
3466
19
Then status 200
0
20
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '62c0d0a5-5826-406d-a625-d84bc5fec800'
2
21
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
22
* def title = get response //citation/CI_Citation/title/CharacterString
1
23
* def email = get response //electronicMailAddress/CharacterString
1
24
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
25
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
26
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
27
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
4
28
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
29
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
30
* print organisationpath
0
06:39:41.596 [print] Beheer PDOK
31
* print operateson
0
06:39:41.596 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=be1b1514-8d1f-48e1-9624-fee9b784138b#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=db60a314-5583-437d-a2ff-1e59cc57704e#MD_DataIdentification" ]
32
* eval db.writeln('"62c0d0a5-5826-406d-a625-d84bc5fec800","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
4
33
* eval db.writeln('"62c0d0a5-5826-406d-a625-d84bc5fec800","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.2:18]1fa220c2-5f2e-4943-a57e-c291cc35084b
ms: 804
>>
Background:
34
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
35
* def mystorage = Java.type('storage.DataStorage')
3
36
* def db = new mystorage
1
37
* def db = db.setfeature(karate.info.featureFileName)
1
38
* def separator = java.lang.System.getProperty("file.separator")
1
39
* def outputpath = db.outputpath()
1
40
* eval db.ensureDirectory(outputpath)
1
41
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
42
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
43
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
44
Given path 'geonetwork/srv/dut/inspire'
1
45
And param service = 'CSW'
0
46
And param version = '2.0.2'
0
47
And param request = 'GetRecordById'
0
48
And param id = '1fa220c2-5f2e-4943-a57e-c291cc35084b'
1
49
And param elementsetname = 'full'
0
50
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
51
When method get
770
52
Then status 200
0
53
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1fa220c2-5f2e-4943-a57e-c291cc35084b'
4
54
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
2
55
* def title = get response //citation/CI_Citation/title/CharacterString
3
56
* def email = get response //electronicMailAddress/CharacterString
2
57
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
3
58
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
2
59
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
2
60
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
2
61
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
2
62
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
2
63
* print organisationpath
0
06:39:38.851 [print] Beheer PDOK
64
* print operateson
0
06:39:38.851 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=f273941e-9c3b-43bc-b886-2d50d0bf9348#MD_DataIdentification
65
* eval db.writeln('"1fa220c2-5f2e-4943-a57e-c291cc35084b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
3
66
* eval db.writeln('"1fa220c2-5f2e-4943-a57e-c291cc35084b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.3:18]e5ef707f-6458-4567-8d2c-d24fe88ab5e9
ms: 2915
>>
Background:
67
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
68
* def mystorage = Java.type('storage.DataStorage')
3
69
* def db = new mystorage
1
70
* def db = db.setfeature(karate.info.featureFileName)
1
71
* def separator = java.lang.System.getProperty("file.separator")
1
72
* def outputpath = db.outputpath()
1
73
* eval db.ensureDirectory(outputpath)
1
74
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
75
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
76
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
77
Given path 'geonetwork/srv/dut/inspire'
0
78
And param service = 'CSW'
0
79
And param version = '2.0.2'
0
80
And param request = 'GetRecordById'
0
81
And param id = 'e5ef707f-6458-4567-8d2c-d24fe88ab5e9'
1
82
And param elementsetname = 'full'
0
83
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
84
When method get
2903
85
Then status 200
0
86
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e5ef707f-6458-4567-8d2c-d24fe88ab5e9'
1
87
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
88
* def title = get response //citation/CI_Citation/title/CharacterString
0
89
* def email = get response //electronicMailAddress/CharacterString
0
90
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
91
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
92
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
93
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
94
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
95
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
96
* print organisationpath
0
06:39:41.014 [print] TNO Geologische Dienst Nederland
97
* print operateson
0
06:39:41.014 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=e3b0da1e-0664-4025-b3f5-a54d74a26450&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
98
* eval db.writeln('"e5ef707f-6458-4567-8d2c-d24fe88ab5e9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
99
* eval db.writeln('"e5ef707f-6458-4567-8d2c-d24fe88ab5e9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.4:18]180b6682-5d6f-429d-abb7-32f7d6253787
ms: 2076
>>
Background:
100
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
101
* def mystorage = Java.type('storage.DataStorage')
3
102
* def db = new mystorage
1
103
* def db = db.setfeature(karate.info.featureFileName)
1
104
* def separator = java.lang.System.getProperty("file.separator")
1
105
* def outputpath = db.outputpath()
1
106
* eval db.ensureDirectory(outputpath)
1
107
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
108
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
109
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
110
Given path 'geonetwork/srv/dut/inspire'
0
111
And param service = 'CSW'
0
112
And param version = '2.0.2'
0
113
And param request = 'GetRecordById'
0
114
And param id = '180b6682-5d6f-429d-abb7-32f7d6253787'
1
115
And param elementsetname = 'full'
0
116
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
117
When method get
2062
118
Then status 200
0
119
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '180b6682-5d6f-429d-abb7-32f7d6253787'
1
120
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
121
* def title = get response //citation/CI_Citation/title/CharacterString
1
122
* def email = get response //electronicMailAddress/CharacterString
1
123
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
124
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
125
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
126
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
127
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
128
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
129
* print organisationpath
0
06:39:40.138 [print] Beheer PDOK
130
* print operateson
0
06:39:40.138 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=d845cef6-0e23-4212-a951-b69763e39ef0#MD_DataIdentification
131
* eval db.writeln('"180b6682-5d6f-429d-abb7-32f7d6253787","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
132
* eval db.writeln('"180b6682-5d6f-429d-abb7-32f7d6253787","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.5:18]2dd6c9df-bb47-40eb-af39-2d17f09b9bb9
ms: 2364
>>
Background:
133
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
134
* def mystorage = Java.type('storage.DataStorage')
3
135
* def db = new mystorage
1
136
* def db = db.setfeature(karate.info.featureFileName)
1
137
* def separator = java.lang.System.getProperty("file.separator")
1
138
* def outputpath = db.outputpath()
1
139
* eval db.ensureDirectory(outputpath)
1
140
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
141
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
142
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
143
Given path 'geonetwork/srv/dut/inspire'
1
144
And param service = 'CSW'
0
145
And param version = '2.0.2'
0
146
And param request = 'GetRecordById'
0
147
And param id = '2dd6c9df-bb47-40eb-af39-2d17f09b9bb9'
1
148
And param elementsetname = 'full'
0
149
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
150
When method get
2346
151
Then status 200
0
152
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2dd6c9df-bb47-40eb-af39-2d17f09b9bb9'
1
153
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
154
* def title = get response //citation/CI_Citation/title/CharacterString
0
155
* def email = get response //electronicMailAddress/CharacterString
1
156
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
157
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
158
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
159
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
160
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
2
161
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
162
* print organisationpath
0
06:39:40.445 [print] TNO Geologische Dienst Nederland
163
* print operateson
0
06:39:40.445 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=80630ee7-3a15-4ea0-bdc0-a8aebfa2f204&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
164
* eval db.writeln('"2dd6c9df-bb47-40eb-af39-2d17f09b9bb9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
6
165
* eval db.writeln('"2dd6c9df-bb47-40eb-af39-2d17f09b9bb9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.6:18]7681eb19-a914-4dc7-9208-c2a131dca06d
ms: 3606
>>
Background:
166
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
167
* def mystorage = Java.type('storage.DataStorage')
3
168
* def db = new mystorage
1
169
* def db = db.setfeature(karate.info.featureFileName)
1
170
* def separator = java.lang.System.getProperty("file.separator")
1
171
* def outputpath = db.outputpath()
1
172
* eval db.ensureDirectory(outputpath)
1
173
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
174
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
175
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
176
Given path 'geonetwork/srv/dut/inspire'
0
177
And param service = 'CSW'
0
178
And param version = '2.0.2'
0
179
And param request = 'GetRecordById'
0
180
And param id = '7681eb19-a914-4dc7-9208-c2a131dca06d'
1
181
And param elementsetname = 'full'
0
182
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
183
When method get
3594
184
Then status 200
0
185
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7681eb19-a914-4dc7-9208-c2a131dca06d'
1
186
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
187
* def title = get response //citation/CI_Citation/title/CharacterString
0
188
* def email = get response //electronicMailAddress/CharacterString
0
189
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
190
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
191
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
192
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
193
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
194
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
195
* print organisationpath
0
06:39:41.714 [print] Beheer PDOK
196
* print operateson
0
06:39:41.714 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=110f9ec6-4464-462e-9765-83d90cefbeag#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=110f9ec6-4464-462e-9765-83d90cefbead#MD_DataIdentification" ]
197
* eval db.writeln('"7681eb19-a914-4dc7-9208-c2a131dca06d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
198
* eval db.writeln('"7681eb19-a914-4dc7-9208-c2a131dca06d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.7:18]91041d33-54f8-40f1-8965-a867ba00cab8
ms: 1956
>>
Background:
199
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
200
* def mystorage = Java.type('storage.DataStorage')
3
201
* def db = new mystorage
1
202
* def db = db.setfeature(karate.info.featureFileName)
1
203
* def separator = java.lang.System.getProperty("file.separator")
1
204
* def outputpath = db.outputpath()
1
205
* eval db.ensureDirectory(outputpath)
1
206
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
207
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
208
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
209
Given path 'geonetwork/srv/dut/inspire'
0
210
And param service = 'CSW'
0
211
And param version = '2.0.2'
0
212
And param request = 'GetRecordById'
0
213
And param id = '91041d33-54f8-40f1-8965-a867ba00cab8'
1
214
And param elementsetname = 'full'
0
215
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
216
When method get
1890
217
Then status 200
0
218
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '91041d33-54f8-40f1-8965-a867ba00cab8'
6
219
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
220
* def title = get response //citation/CI_Citation/title/CharacterString
1
221
* def email = get response //electronicMailAddress/CharacterString
0
222
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
223
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
224
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
225
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
226
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
227
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
38
228
* print organisationpath
0
06:39:40.002 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
229
* print operateson
0
06:39:40.003 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/xml.metadata.get?uuid=34e95842-4e4e-46de-9198-79e8cd4d30dc#MD_DataIdentification
230
* eval db.writeln('"91041d33-54f8-40f1-8965-a867ba00cab8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
3
231
* eval db.writeln('"91041d33-54f8-40f1-8965-a867ba00cab8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
13
Scenario Outline: [1.8:18]aaf53e6f-fe99-4a86-a61c-50b128412d80
ms: 2241
>>
Background:
232
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
233
* def mystorage = Java.type('storage.DataStorage')
3
234
* def db = new mystorage
1
235
* def db = db.setfeature(karate.info.featureFileName)
1
236
* def separator = java.lang.System.getProperty("file.separator")
1
237
* def outputpath = db.outputpath()
1
238
* eval db.ensureDirectory(outputpath)
1
239
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
240
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
241
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
242
Given path 'geonetwork/srv/dut/inspire'
0
243
And param service = 'CSW'
0
244
And param version = '2.0.2'
0
245
And param request = 'GetRecordById'
0
246
And param id = 'aaf53e6f-fe99-4a86-a61c-50b128412d80'
1
247
And param elementsetname = 'full'
0
248
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
249
When method get
2159
250
Then status 200
0
251
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'aaf53e6f-fe99-4a86-a61c-50b128412d80'
1
252
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
253
* def title = get response //citation/CI_Citation/title/CharacterString
0
254
* def email = get response //electronicMailAddress/CharacterString
63
255
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
256
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
257
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
258
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
259
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
260
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
261
* print organisationpath
0
06:39:40.305 [print] Beheer PDOK
262
* print operateson
0
06:39:40.305 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3d59fd06-9aec-4744-91e7-65e119f74569#MD_DataIdentification
263
* eval db.writeln('"aaf53e6f-fe99-4a86-a61c-50b128412d80","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
9
264
* eval db.writeln('"aaf53e6f-fe99-4a86-a61c-50b128412d80","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.9:18]c474b492-da63-4a33-9bdd-b3709ce2cd6c
ms: 2150
>>
Background:
265
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
266
* def mystorage = Java.type('storage.DataStorage')
3
267
* def db = new mystorage
1
268
* def db = db.setfeature(karate.info.featureFileName)
1
269
* def separator = java.lang.System.getProperty("file.separator")
1
270
* def outputpath = db.outputpath()
1
271
* eval db.ensureDirectory(outputpath)
1
272
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
273
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
274
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
275
Given path 'geonetwork/srv/dut/inspire'
0
276
And param service = 'CSW'
0
277
And param version = '2.0.2'
0
278
And param request = 'GetRecordById'
0
279
And param id = 'c474b492-da63-4a33-9bdd-b3709ce2cd6c'
1
280
And param elementsetname = 'full'
0
281
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
282
When method get
2135
283
Then status 200
0
284
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c474b492-da63-4a33-9bdd-b3709ce2cd6c'
1
285
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
286
* def title = get response //citation/CI_Citation/title/CharacterString
0
287
* def email = get response //electronicMailAddress/CharacterString
1
288
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
289
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
290
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
291
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
292
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
293
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
294
* print organisationpath
0
06:39:40.226 [print] Beheer PDOK
295
* print operateson
0
06:39:40.226 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=58d39928-f502-48c9-a8c1-03244dc181bf#MD_DataIdentification
296
* eval db.writeln('"c474b492-da63-4a33-9bdd-b3709ce2cd6c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
297
* eval db.writeln('"c474b492-da63-4a33-9bdd-b3709ce2cd6c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
5
Scenario Outline: [1.10:18]25a99d92-ea8a-4163-82ab-3521c9b0c96b
ms: 2736
>>
Background:
298
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
299
* def mystorage = Java.type('storage.DataStorage')
3
300
* def db = new mystorage
1
301
* def db = db.setfeature(karate.info.featureFileName)
1
302
* def separator = java.lang.System.getProperty("file.separator")
1
303
* def outputpath = db.outputpath()
1
304
* eval db.ensureDirectory(outputpath)
1
305
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
306
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
307
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
308
Given path 'geonetwork/srv/dut/inspire'
0
309
And param service = 'CSW'
0
310
And param version = '2.0.2'
0
311
And param request = 'GetRecordById'
0
312
And param id = '25a99d92-ea8a-4163-82ab-3521c9b0c96b'
1
313
And param elementsetname = 'full'
0
314
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
315
When method get
2722
316
Then status 200
0
317
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '25a99d92-ea8a-4163-82ab-3521c9b0c96b'
1
318
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
319
* def title = get response //citation/CI_Citation/title/CharacterString
1
320
* def email = get response //electronicMailAddress/CharacterString
1
321
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
322
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
323
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
324
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
325
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
326
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
327
* print organisationpath
0
06:39:40.830 [print] Beheer PDOK
328
* print operateson
0
06:39:40.830 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=2d3dd6d2-2d2b-4b5f-9e30-86e19ed77a56#MD_DataIdentification
329
* eval db.writeln('"25a99d92-ea8a-4163-82ab-3521c9b0c96b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
3
330
* eval db.writeln('"25a99d92-ea8a-4163-82ab-3521c9b0c96b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.11:18]68505be5-45c4-4889-a82a-125043bbdc44
ms: 3051
>>
Background:
331
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
332
* def mystorage = Java.type('storage.DataStorage')
3
333
* def db = new mystorage
1
334
* def db = db.setfeature(karate.info.featureFileName)
1
335
* def separator = java.lang.System.getProperty("file.separator")
1
336
* def outputpath = db.outputpath()
1
337
* eval db.ensureDirectory(outputpath)
1
338
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
339
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
340
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
341
Given path 'geonetwork/srv/dut/inspire'
0
342
And param service = 'CSW'
0
343
And param version = '2.0.2'
0
344
And param request = 'GetRecordById'
0
345
And param id = '68505be5-45c4-4889-a82a-125043bbdc44'
1
346
And param elementsetname = 'full'
0
347
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
348
When method get
3039
349
Then status 200
0
350
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '68505be5-45c4-4889-a82a-125043bbdc44'
2
351
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
352
* def title = get response //citation/CI_Citation/title/CharacterString
0
353
* def email = get response //electronicMailAddress/CharacterString
0
354
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
355
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
356
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
357
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
358
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
359
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
360
* print organisationpath
0
06:39:41.155 [print] TNO Geologische Dienst Nederland
361
* print operateson
0
06:39:41.155 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=6c1cf452-8c62-4046-99ab-640a5e184f9c&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
362
* eval db.writeln('"68505be5-45c4-4889-a82a-125043bbdc44","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
363
* eval db.writeln('"68505be5-45c4-4889-a82a-125043bbdc44","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.12:18]32b1eb9e-c54f-4598-92d2-328eb77fa0d3
ms: 769
>>
Background:
364
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
365
* def mystorage = Java.type('storage.DataStorage')
3
366
* def db = new mystorage
1
367
* def db = db.setfeature(karate.info.featureFileName)
1
368
* def separator = java.lang.System.getProperty("file.separator")
1
369
* def outputpath = db.outputpath()
1
370
* eval db.ensureDirectory(outputpath)
1
371
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
372
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
373
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
374
Given path 'geonetwork/srv/dut/inspire'
1
375
And param service = 'CSW'
1
376
And param version = '2.0.2'
1
377
And param request = 'GetRecordById'
1
378
And param id = '32b1eb9e-c54f-4598-92d2-328eb77fa0d3'
1
379
And param elementsetname = 'full'
1
380
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
11
381
When method get
741
382
Then status 200
0
383
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '32b1eb9e-c54f-4598-92d2-328eb77fa0d3'
1
384
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
385
* def title = get response //citation/CI_Citation/title/CharacterString
0
386
* def email = get response //electronicMailAddress/CharacterString
1
387
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
388
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
389
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
390
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
391
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
392
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
393
* print organisationpath
0
06:39:38.800 [print] Beheer PDOK
394
* print operateson
0
06:39:38.800 [print] http://nationaalgeoregister.nl/geonetwork/srv/eng/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8829e5dd-c861-4639-a6c8-fdbb6e3440d2#MD_DataIdentification
395
* eval db.writeln('"32b1eb9e-c54f-4598-92d2-328eb77fa0d3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
3
396
* eval db.writeln('"32b1eb9e-c54f-4598-92d2-328eb77fa0d3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
5
Scenario Outline: [1.13:18]cea38797-ea4b-4969-b979-8d25eb543a6c
ms: 644
>>
Background:
397
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
398
* def mystorage = Java.type('storage.DataStorage')
3
399
* def db = new mystorage
1
400
* def db = db.setfeature(karate.info.featureFileName)
1
401
* def separator = java.lang.System.getProperty("file.separator")
1
402
* def outputpath = db.outputpath()
1
403
* eval db.ensureDirectory(outputpath)
1
404
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
405
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
406
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
407
Given path 'geonetwork/srv/dut/inspire'
8
408
And param service = 'CSW'
0
409
And param version = '2.0.2'
0
410
And param request = 'GetRecordById'
0
411
And param id = 'cea38797-ea4b-4969-b979-8d25eb543a6c'
1
412
And param elementsetname = 'full'
0
413
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
414
When method get
617
415
Then status 200
0
416
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'cea38797-ea4b-4969-b979-8d25eb543a6c'
1
417
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
418
* def title = get response //citation/CI_Citation/title/CharacterString
0
419
* def email = get response //electronicMailAddress/CharacterString
0
420
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
2
421
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
2
422
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
423
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
424
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
2
425
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
426
* print organisationpath
0
06:39:38.681 [print] Beheer PDOK
427
* print operateson
0
06:39:38.682 [print] https://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=6318009c-7b11-4ab9-9929-735584dfb692#MD_DataIdentification
428
* eval db.writeln('"cea38797-ea4b-4969-b979-8d25eb543a6c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
3
429
* eval db.writeln('"cea38797-ea4b-4969-b979-8d25eb543a6c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.14:18]609d0c9e-173f-4f90-b020-c91ab3a0b6ef
ms: 1898
>>
Background:
430
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
431
* def mystorage = Java.type('storage.DataStorage')
3
432
* def db = new mystorage
1
433
* def db = db.setfeature(karate.info.featureFileName)
1
434
* def separator = java.lang.System.getProperty("file.separator")
1
435
* def outputpath = db.outputpath()
1
436
* eval db.ensureDirectory(outputpath)
1
437
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
438
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
439
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
440
Given path 'geonetwork/srv/dut/inspire'
1
441
And param service = 'CSW'
0
442
And param version = '2.0.2'
0
443
And param request = 'GetRecordById'
0
444
And param id = '609d0c9e-173f-4f90-b020-c91ab3a0b6ef'
1
445
And param elementsetname = 'full'
0
446
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
447
When method get
1883
448
Then status 200
0
449
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '609d0c9e-173f-4f90-b020-c91ab3a0b6ef'
1
450
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
451
* def title = get response //citation/CI_Citation/title/CharacterString
0
452
* def email = get response //electronicMailAddress/CharacterString
1
453
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
454
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
455
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
456
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
457
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
458
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
459
* print organisationpath
0
06:39:39.950 [print] Beheer PDOK
460
* print operateson
0
06:39:39.950 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=29c17585-e702-463f-a5dc-99d34b17d333#MD_DataIdentification
461
* eval db.writeln('"609d0c9e-173f-4f90-b020-c91ab3a0b6ef","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
3
462
* eval db.writeln('"609d0c9e-173f-4f90-b020-c91ab3a0b6ef","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.15:18]f0c6fbfe-a172-4223-8af3-58f6a28c881d
ms: 1824
>>
Background:
463
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
464
* def mystorage = Java.type('storage.DataStorage')
3
465
* def db = new mystorage
1
466
* def db = db.setfeature(karate.info.featureFileName)
1
467
* def separator = java.lang.System.getProperty("file.separator")
1
468
* def outputpath = db.outputpath()
1
469
* eval db.ensureDirectory(outputpath)
1
470
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
471
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
472
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
473
Given path 'geonetwork/srv/dut/inspire'
1
474
And param service = 'CSW'
0
475
And param version = '2.0.2'
0
476
And param request = 'GetRecordById'
0
477
And param id = 'f0c6fbfe-a172-4223-8af3-58f6a28c881d'
1
478
And param elementsetname = 'full'
0
479
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
480
When method get
1807
481
Then status 200
0
482
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f0c6fbfe-a172-4223-8af3-58f6a28c881d'
1
483
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
484
* def title = get response //citation/CI_Citation/title/CharacterString
0
485
* def email = get response //electronicMailAddress/CharacterString
0
486
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
487
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
488
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
489
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
490
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
491
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
492
* print organisationpath
0
06:39:39.881 [print]
493
* print operateson
0
06:39:39.882 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=12bb57cd-73e0-41ba-a1e9-6d986b9109d3&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
494
* eval db.writeln('"f0c6fbfe-a172-4223-8af3-58f6a28c881d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
5
495
* eval db.writeln('"f0c6fbfe-a172-4223-8af3-58f6a28c881d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.16:18]8129296b-b9c1-489f-990a-df4a879e12b2
ms: 2106
>>
Background:
496
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
497
* def mystorage = Java.type('storage.DataStorage')
3
498
* def db = new mystorage
1
499
* def db = db.setfeature(karate.info.featureFileName)
1
500
* def separator = java.lang.System.getProperty("file.separator")
1
501
* def outputpath = db.outputpath()
1
502
* eval db.ensureDirectory(outputpath)
1
503
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
504
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
505
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
506
Given path 'geonetwork/srv/dut/inspire'
1
507
And param service = 'CSW'
0
508
And param version = '2.0.2'
0
509
And param request = 'GetRecordById'
0
510
And param id = '8129296b-b9c1-489f-990a-df4a879e12b2'
1
511
And param elementsetname = 'full'
0
512
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
513
When method get
2094
514
Then status 200
0
515
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '8129296b-b9c1-489f-990a-df4a879e12b2'
1
516
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
517
* def title = get response //citation/CI_Citation/title/CharacterString
0
518
* def email = get response //electronicMailAddress/CharacterString
0
519
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
520
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
521
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
522
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
523
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
524
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
525
* print organisationpath
1
06:39:40.172 [print]
526
* print operateson
0
06:39:40.172 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=12bb57cd-73e0-41ba-a1e9-6d986b9109d3&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
527
* eval db.writeln('"8129296b-b9c1-489f-990a-df4a879e12b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
528
* eval db.writeln('"8129296b-b9c1-489f-990a-df4a879e12b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.17:18]a8ad0d7d-ea9e-4261-bc92-772e99a41387
ms: 2646
>>
Background:
529
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
530
* def mystorage = Java.type('storage.DataStorage')
3
531
* def db = new mystorage
1
532
* def db = db.setfeature(karate.info.featureFileName)
1
533
* def separator = java.lang.System.getProperty("file.separator")
1
534
* def outputpath = db.outputpath()
1
535
* eval db.ensureDirectory(outputpath)
1
536
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
537
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
538
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
539
Given path 'geonetwork/srv/dut/inspire'
3
540
And param service = 'CSW'
0
541
And param version = '2.0.2'
0
542
And param request = 'GetRecordById'
0
543
And param id = 'a8ad0d7d-ea9e-4261-bc92-772e99a41387'
1
544
And param elementsetname = 'full'
0
545
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
546
When method get
2630
547
Then status 200
0
548
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a8ad0d7d-ea9e-4261-bc92-772e99a41387'
1
549
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
550
* def title = get response //citation/CI_Citation/title/CharacterString
1
551
* def email = get response //electronicMailAddress/CharacterString
0
552
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
553
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
554
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
555
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
556
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
557
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
558
* print organisationpath
0
06:39:40.719 [print] Beheer PDOK
559
* print operateson
0
06:39:40.719 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/eng/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=76091be7-358a-4a44-8182-b4139c96c6a4#MD_DataIdentification
560
* eval db.writeln('"a8ad0d7d-ea9e-4261-bc92-772e99a41387","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
561
* eval db.writeln('"a8ad0d7d-ea9e-4261-bc92-772e99a41387","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.18:18]b87a0095-2ad7-4dbb-81a1-fed060df79e1
ms: 2355
>>
Background:
562
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
563
* def mystorage = Java.type('storage.DataStorage')
3
564
* def db = new mystorage
1
565
* def db = db.setfeature(karate.info.featureFileName)
1
566
* def separator = java.lang.System.getProperty("file.separator")
1
567
* def outputpath = db.outputpath()
1
568
* eval db.ensureDirectory(outputpath)
1
569
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
570
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
571
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
572
Given path 'geonetwork/srv/dut/inspire'
1
573
And param service = 'CSW'
0
574
And param version = '2.0.2'
0
575
And param request = 'GetRecordById'
0
576
And param id = 'b87a0095-2ad7-4dbb-81a1-fed060df79e1'
1
577
And param elementsetname = 'full'
0
578
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
579
When method get
2341
580
Then status 200
0
581
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b87a0095-2ad7-4dbb-81a1-fed060df79e1'
2
582
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
583
* def title = get response //citation/CI_Citation/title/CharacterString
0
584
* def email = get response //electronicMailAddress/CharacterString
1
585
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
586
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
587
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
588
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
589
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
590
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
591
* print organisationpath
0
06:39:40.435 [print] Beheer PDOK
592
* print operateson
0
06:39:40.435 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4961d305-fbb5-426a-9ba3-53e1ca5f3b18
593
* eval db.writeln('"b87a0095-2ad7-4dbb-81a1-fed060df79e1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
3
594
* eval db.writeln('"b87a0095-2ad7-4dbb-81a1-fed060df79e1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.19:18]918388cf-9d8c-4264-b108-3e375bde0d52
ms: 2487
>>
Background:
595
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
596
* def mystorage = Java.type('storage.DataStorage')
3
597
* def db = new mystorage
1
598
* def db = db.setfeature(karate.info.featureFileName)
1
599
* def separator = java.lang.System.getProperty("file.separator")
1
600
* def outputpath = db.outputpath()
1
601
* eval db.ensureDirectory(outputpath)
1
602
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
603
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
604
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
605
Given path 'geonetwork/srv/dut/inspire'
0
606
And param service = 'CSW'
0
607
And param version = '2.0.2'
0
608
And param request = 'GetRecordById'
0
609
And param id = '918388cf-9d8c-4264-b108-3e375bde0d52'
1
610
And param elementsetname = 'full'
0
611
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
612
When method get
2473
613
Then status 200
0
614
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '918388cf-9d8c-4264-b108-3e375bde0d52'
2
615
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
616
* def title = get response //citation/CI_Citation/title/CharacterString
1
617
* def email = get response //electronicMailAddress/CharacterString
1
618
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
619
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
620
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
621
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
622
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
623
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
624
* print organisationpath
0
06:39:40.574 [print] Beheer PDOK
625
* print operateson
0
06:39:40.574 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=be1b1514-8d1f-48e1-9624-fee9b784138b#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=db60a314-5583-437d-a2ff-1e59cc57704e#MD_DataIdentification" ]
626
* eval db.writeln('"918388cf-9d8c-4264-b108-3e375bde0d52","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
3
627
* eval db.writeln('"918388cf-9d8c-4264-b108-3e375bde0d52","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.20:18]82541a1f-2e4e-459f-ab2f-e97cac3ad040
ms: 2983
>>
Background:
628
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
629
* def mystorage = Java.type('storage.DataStorage')
3
630
* def db = new mystorage
1
631
* def db = db.setfeature(karate.info.featureFileName)
1
632
* def separator = java.lang.System.getProperty("file.separator")
1
633
* def outputpath = db.outputpath()
1
634
* eval db.ensureDirectory(outputpath)
1
635
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
636
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
637
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
638
Given path 'geonetwork/srv/dut/inspire'
0
639
And param service = 'CSW'
0
640
And param version = '2.0.2'
0
641
And param request = 'GetRecordById'
0
642
And param id = '82541a1f-2e4e-459f-ab2f-e97cac3ad040'
1
643
And param elementsetname = 'full'
0
644
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
645
When method get
2956
646
Then status 200
0
647
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '82541a1f-2e4e-459f-ab2f-e97cac3ad040'
2
648
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
2
649
* def title = get response //citation/CI_Citation/title/CharacterString
2
650
* def email = get response //electronicMailAddress/CharacterString
2
651
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
2
652
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
653
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
654
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
655
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
656
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
2
657
* print organisationpath
0
06:39:41.078 [print] Beheer PDOK
658
* print operateson
0
06:39:41.079 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=03671a9e-6aaf-464d-be99-9aad25cef9e3#MD_DataIdentification
659
* eval db.writeln('"82541a1f-2e4e-459f-ab2f-e97cac3ad040","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
660
* eval db.writeln('"82541a1f-2e4e-459f-ab2f-e97cac3ad040","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.21:18]f1e26638-3b45-4dd5-9ad0-f7d3654700f1
ms: 3153
>>
Background:
661
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
662
* def mystorage = Java.type('storage.DataStorage')
3
663
* def db = new mystorage
1
664
* def db = db.setfeature(karate.info.featureFileName)
1
665
* def separator = java.lang.System.getProperty("file.separator")
1
666
* def outputpath = db.outputpath()
1
667
* eval db.ensureDirectory(outputpath)
1
668
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
669
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
670
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
671
Given path 'geonetwork/srv/dut/inspire'
0
672
And param service = 'CSW'
0
673
And param version = '2.0.2'
0
674
And param request = 'GetRecordById'
0
675
And param id = 'f1e26638-3b45-4dd5-9ad0-f7d3654700f1'
1
676
And param elementsetname = 'full'
0
677
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
678
When method get
3129
679
Then status 200
0
680
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f1e26638-3b45-4dd5-9ad0-f7d3654700f1'
2
681
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
682
* def title = get response //citation/CI_Citation/title/CharacterString
1
683
* def email = get response //electronicMailAddress/CharacterString
2
684
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
685
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
686
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
687
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
688
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
689
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
2
690
* print organisationpath
0
06:39:41.249 [print] Beheer PDOK
691
* print operateson
0
06:39:41.249 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=f605a24f-60cd-4c40-94c8-2186aba3ddd0#MD_DataIdentification
692
* eval db.writeln('"f1e26638-3b45-4dd5-9ad0-f7d3654700f1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
3
693
* eval db.writeln('"f1e26638-3b45-4dd5-9ad0-f7d3654700f1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
7
Scenario Outline: [1.22:18]97b49056-8ace-426c-ae3e-bf7efe4c000f
ms: 3492
>>
Background:
694
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
695
* def mystorage = Java.type('storage.DataStorage')
3
696
* def db = new mystorage
1
697
* def db = db.setfeature(karate.info.featureFileName)
1
698
* def separator = java.lang.System.getProperty("file.separator")
1
699
* def outputpath = db.outputpath()
1
700
* eval db.ensureDirectory(outputpath)
1
701
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
702
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
703
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
704
Given path 'geonetwork/srv/dut/inspire'
0
705
And param service = 'CSW'
0
706
And param version = '2.0.2'
0
707
And param request = 'GetRecordById'
0
708
And param id = '97b49056-8ace-426c-ae3e-bf7efe4c000f'
1
709
And param elementsetname = 'full'
0
710
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
711
When method get
3473
712
Then status 200
0
713
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '97b49056-8ace-426c-ae3e-bf7efe4c000f'
1
714
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
715
* def title = get response //citation/CI_Citation/title/CharacterString
1
716
* def email = get response //electronicMailAddress/CharacterString
0
717
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
718
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
719
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
720
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
721
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
722
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
723
* print organisationpath
0
06:39:41.590 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
724
* print operateson
0
06:39:41.590 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=1249746f-c2a6-4639-98f2-251676b3528e&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
725
* eval db.writeln('"97b49056-8ace-426c-ae3e-bf7efe4c000f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
726
* eval db.writeln('"97b49056-8ace-426c-ae3e-bf7efe4c000f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
11
Scenario Outline: [1.23:18]4fb15e0d-d88f-40f1-b407-3d3edcf7e184
ms: 3380
>>
Background:
727
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
728
* def mystorage = Java.type('storage.DataStorage')
3
729
* def db = new mystorage
1
730
* def db = db.setfeature(karate.info.featureFileName)
1
731
* def separator = java.lang.System.getProperty("file.separator")
1
732
* def outputpath = db.outputpath()
1
733
* eval db.ensureDirectory(outputpath)
1
734
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
735
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
736
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
737
Given path 'geonetwork/srv/dut/inspire'
0
738
And param service = 'CSW'
0
739
And param version = '2.0.2'
0
740
And param request = 'GetRecordById'
0
741
And param id = '4fb15e0d-d88f-40f1-b407-3d3edcf7e184'
1
742
And param elementsetname = 'full'
0
743
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
744
When method get
3363
745
Then status 200
0
746
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4fb15e0d-d88f-40f1-b407-3d3edcf7e184'
1
747
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
748
* def title = get response //citation/CI_Citation/title/CharacterString
0
749
* def email = get response //electronicMailAddress/CharacterString
0
750
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
751
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
752
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
753
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
754
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
755
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
756
* print organisationpath
0
06:39:41.485 [print] Beheer PDOK
757
* print operateson
1
06:39:41.485 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=eu-cb527d-f6db-4835-b0cd-deb245241254#MD_DataIdentification
758
* eval db.writeln('"4fb15e0d-d88f-40f1-b407-3d3edcf7e184","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
759
* eval db.writeln('"4fb15e0d-d88f-40f1-b407-3d3edcf7e184","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
7
Scenario Outline: [1.24:18]73286af2-d0f4-4a62-9455-86ffa45ef279
ms: 3298
>>
Background:
760
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
761
* def mystorage = Java.type('storage.DataStorage')
3
762
* def db = new mystorage
1
763
* def db = db.setfeature(karate.info.featureFileName)
1
764
* def separator = java.lang.System.getProperty("file.separator")
1
765
* def outputpath = db.outputpath()
1
766
* eval db.ensureDirectory(outputpath)
1
767
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
768
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
769
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
770
Given path 'geonetwork/srv/dut/inspire'
0
771
And param service = 'CSW'
0
772
And param version = '2.0.2'
0
773
And param request = 'GetRecordById'
0
774
And param id = '73286af2-d0f4-4a62-9455-86ffa45ef279'
1
775
And param elementsetname = 'full'
0
776
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
777
When method get
3287
778
Then status 200
0
779
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '73286af2-d0f4-4a62-9455-86ffa45ef279'
1
780
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
781
* def title = get response //citation/CI_Citation/title/CharacterString
0
782
* def email = get response //electronicMailAddress/CharacterString
0
783
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
784
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
785
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
786
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
787
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
788
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
789
* print organisationpath
0
06:39:41.412 [print] TNO Geologische Dienst Nederland
790
* print operateson
0
06:39:41.412 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=e3b0da1e-0664-4025-b3f5-a54d74a26450&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
791
* eval db.writeln('"73286af2-d0f4-4a62-9455-86ffa45ef279","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
792
* eval db.writeln('"73286af2-d0f4-4a62-9455-86ffa45ef279","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.25:18]5856173c-e58d-4b4c-8f9b-046ee1f20c1c
ms: 3207
>>
Background:
793
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
794
* def mystorage = Java.type('storage.DataStorage')
3
795
* def db = new mystorage
1
796
* def db = db.setfeature(karate.info.featureFileName)
1
797
* def separator = java.lang.System.getProperty("file.separator")
1
798
* def outputpath = db.outputpath()
1
799
* eval db.ensureDirectory(outputpath)
1
800
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
801
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
802
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
803
Given path 'geonetwork/srv/dut/inspire'
1
804
And param service = 'CSW'
0
805
And param version = '2.0.2'
0
806
And param request = 'GetRecordById'
0
807
And param id = '5856173c-e58d-4b4c-8f9b-046ee1f20c1c'
1
808
And param elementsetname = 'full'
0
809
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
810
When method get
3193
811
Then status 200
0
812
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5856173c-e58d-4b4c-8f9b-046ee1f20c1c'
1
813
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
814
* def title = get response //citation/CI_Citation/title/CharacterString
1
815
* def email = get response //electronicMailAddress/CharacterString
1
816
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
2
817
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
818
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
819
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
820
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
821
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
822
* print organisationpath
0
06:39:41.890 [print] Beheer PDOK
823
* print operateson
1
06:39:41.891 [print] https://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=dc5b522e-3e14-4738-9e8e-2401e1b19ef2#MD_DataIdentification
824
* eval db.writeln('"5856173c-e58d-4b4c-8f9b-046ee1f20c1c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
825
* eval db.writeln('"5856173c-e58d-4b4c-8f9b-046ee1f20c1c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.26:18]db1e010a-96f8-453e-b63c-9c27d6273157
ms: 3040
>>
Background:
826
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
827
* def mystorage = Java.type('storage.DataStorage')
3
828
* def db = new mystorage
1
829
* def db = db.setfeature(karate.info.featureFileName)
1
830
* def separator = java.lang.System.getProperty("file.separator")
1
831
* def outputpath = db.outputpath()
1
832
* eval db.ensureDirectory(outputpath)
1
833
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
834
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
835
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
836
Given path 'geonetwork/srv/dut/inspire'
1
837
And param service = 'CSW'
0
838
And param version = '2.0.2'
0
839
And param request = 'GetRecordById'
0
840
And param id = 'db1e010a-96f8-453e-b63c-9c27d6273157'
1
841
And param elementsetname = 'full'
0
842
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
843
When method get
3028
844
Then status 200
0
845
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'db1e010a-96f8-453e-b63c-9c27d6273157'
1
846
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
847
* def title = get response //citation/CI_Citation/title/CharacterString
0
848
* def email = get response //electronicMailAddress/CharacterString
1
849
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
850
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
851
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
852
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
853
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
854
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
855
* print organisationpath
0
06:39:41.844 [print] Beheer PDOK
856
* print operateson
0
06:39:41.844 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=2d3dd6d2-2d2b-4b5f-9e30-86e19ed77a56#MD_DataIdentification
857
* eval db.writeln('"db1e010a-96f8-453e-b63c-9c27d6273157","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
858
* eval db.writeln('"db1e010a-96f8-453e-b63c-9c27d6273157","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.27:18]635bdc85-c596-4afb-ab07-de20c662310c
ms: 2922
>>
Background:
859
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
860
* def mystorage = Java.type('storage.DataStorage')
3
861
* def db = new mystorage
1
862
* def db = db.setfeature(karate.info.featureFileName)
1
863
* def separator = java.lang.System.getProperty("file.separator")
1
864
* def outputpath = db.outputpath()
1
865
* eval db.ensureDirectory(outputpath)
1
866
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
867
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
868
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
869
Given path 'geonetwork/srv/dut/inspire'
1
870
And param service = 'CSW'
0
871
And param version = '2.0.2'
0
872
And param request = 'GetRecordById'
0
873
And param id = '635bdc85-c596-4afb-ab07-de20c662310c'
1
874
And param elementsetname = 'full'
0
875
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
876
When method get
2911
877
Then status 200
0
878
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '635bdc85-c596-4afb-ab07-de20c662310c'
1
879
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
880
* def title = get response //citation/CI_Citation/title/CharacterString
1
881
* def email = get response //electronicMailAddress/CharacterString
0
882
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
883
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
884
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
885
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
886
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
887
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
888
* print organisationpath
0
06:39:41.777 [print] Beheer PDOK
889
* print operateson
0
06:39:41.777 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=791adbe3-772f-42cb-a3be-5a617bcecef0#MD_DataIdentification
890
* eval db.writeln('"635bdc85-c596-4afb-ab07-de20c662310c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
891
* eval db.writeln('"635bdc85-c596-4afb-ab07-de20c662310c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.28:18]0426f471-f325-42ed-a775-81c397592e86
ms: 2094
>>
Background:
892
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
893
* def mystorage = Java.type('storage.DataStorage')
3
894
* def db = new mystorage
1
895
* def db = db.setfeature(karate.info.featureFileName)
1
896
* def separator = java.lang.System.getProperty("file.separator")
1
897
* def outputpath = db.outputpath()
1
898
* eval db.ensureDirectory(outputpath)
1
899
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
900
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
901
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
902
Given path 'geonetwork/srv/dut/inspire'
1
903
And param service = 'CSW'
0
904
And param version = '2.0.2'
0
905
And param request = 'GetRecordById'
0
906
And param id = '0426f471-f325-42ed-a775-81c397592e86'
1
907
And param elementsetname = 'full'
0
908
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
909
When method get
2082
910
Then status 200
0
911
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0426f471-f325-42ed-a775-81c397592e86'
1
912
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
913
* def title = get response //citation/CI_Citation/title/CharacterString
0
914
* def email = get response //electronicMailAddress/CharacterString
0
915
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
916
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
917
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
918
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
919
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
920
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
921
* print organisationpath
0
06:39:41.980 [print]
922
* print operateson
0
06:39:41.980 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8a4f5c3b-aced-48fd-afb5-f1f1d0ef21d6#MD_DataIdentification
923
* eval db.writeln('"0426f471-f325-42ed-a775-81c397592e86","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
924
* eval db.writeln('"0426f471-f325-42ed-a775-81c397592e86","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.29:18]d796fd8d-b1e0-465c-a55b-1e9fe885fc3d
ms: 2010
>>
Background:
925
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
926
* def mystorage = Java.type('storage.DataStorage')
3
927
* def db = new mystorage
1
928
* def db = db.setfeature(karate.info.featureFileName)
1
929
* def separator = java.lang.System.getProperty("file.separator")
1
930
* def outputpath = db.outputpath()
1
931
* eval db.ensureDirectory(outputpath)
1
932
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
933
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
934
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
935
Given path 'geonetwork/srv/dut/inspire'
1
936
And param service = 'CSW'
0
937
And param version = '2.0.2'
0
938
And param request = 'GetRecordById'
0
939
And param id = 'd796fd8d-b1e0-465c-a55b-1e9fe885fc3d'
1
940
And param elementsetname = 'full'
0
941
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
942
When method get
1994
943
Then status 200
0
944
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd796fd8d-b1e0-465c-a55b-1e9fe885fc3d'
1
945
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
946
* def title = get response //citation/CI_Citation/title/CharacterString
0
947
* def email = get response //electronicMailAddress/CharacterString
3
948
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
2
949
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
950
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
951
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
952
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
953
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
954
* print organisationpath
0
06:39:41.961 [print] TNO Geologische Dienst Nederland
955
* print operateson
0
06:39:41.961 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=f99e915a-75e5-4c36-97f2-61eff692d85b&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
956
* eval db.writeln('"d796fd8d-b1e0-465c-a55b-1e9fe885fc3d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
3
957
* eval db.writeln('"d796fd8d-b1e0-465c-a55b-1e9fe885fc3d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.30:18]5be14ec9-9bb3-4395-a061-e7e78d04a527
ms: 2013
>>
Background:
958
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
959
* def mystorage = Java.type('storage.DataStorage')
3
960
* def db = new mystorage
1
961
* def db = db.setfeature(karate.info.featureFileName)
1
962
* def separator = java.lang.System.getProperty("file.separator")
1
963
* def outputpath = db.outputpath()
1
964
* eval db.ensureDirectory(outputpath)
1
965
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
966
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
967
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
968
Given path 'geonetwork/srv/dut/inspire'
1
969
And param service = 'CSW'
0
970
And param version = '2.0.2'
0
971
And param request = 'GetRecordById'
0
972
And param id = '5be14ec9-9bb3-4395-a061-e7e78d04a527'
6
973
And param elementsetname = 'full'
0
974
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
975
When method get
1995
976
Then status 200
0
977
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5be14ec9-9bb3-4395-a061-e7e78d04a527'
1
978
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
979
* def title = get response //citation/CI_Citation/title/CharacterString
1
980
* def email = get response //electronicMailAddress/CharacterString
0
981
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
982
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
983
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
984
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
985
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
986
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
987
* print organisationpath
0
06:39:42.028 [print] Beheer PDOK
988
* print operateson
0
06:39:42.028 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=b4ae622c-6201-49d8-bd2e-f7fce9206a1e#MD_DataIdentification
989
* eval db.writeln('"5be14ec9-9bb3-4395-a061-e7e78d04a527","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
990
* eval db.writeln('"5be14ec9-9bb3-4395-a061-e7e78d04a527","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.31:18]0bc2bcb8-558b-446b-b4e2-381b13d483a8
ms: 2037
>>
Background:
991
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
992
* def mystorage = Java.type('storage.DataStorage')
3
993
* def db = new mystorage
1
994
* def db = db.setfeature(karate.info.featureFileName)
1
995
* def separator = java.lang.System.getProperty("file.separator")
1
996
* def outputpath = db.outputpath()
1
997
* eval db.ensureDirectory(outputpath)
1
998
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
999
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1000
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1001
Given path 'geonetwork/srv/dut/inspire'
1
1002
And param service = 'CSW'
0
1003
And param version = '2.0.2'
0
1004
And param request = 'GetRecordById'
0
1005
And param id = '0bc2bcb8-558b-446b-b4e2-381b13d483a8'
1
1006
And param elementsetname = 'full'
0
1007
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1008
When method get
2025
1009
Then status 200
0
1010
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0bc2bcb8-558b-446b-b4e2-381b13d483a8'
1
1011
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1012
* def title = get response //citation/CI_Citation/title/CharacterString
0
1013
* def email = get response //electronicMailAddress/CharacterString
0
1014
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1015
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1016
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1017
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1018
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1019
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1020
* print organisationpath
0
06:39:42.177 [print] Beheer PDOK
1021
* print operateson
0
06:39:42.177 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3d59fd06-9aec-4744-91e7-65e119f74569#MD_DataIdentification
1022
* eval db.writeln('"0bc2bcb8-558b-446b-b4e2-381b13d483a8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
1023
* eval db.writeln('"0bc2bcb8-558b-446b-b4e2-381b13d483a8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.32:18]76342a6d-452e-4e21-b5c0-81ff7b1be90e
ms: 2181
>>
Background:
1024
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
1025
* def mystorage = Java.type('storage.DataStorage')
3
1026
* def db = new mystorage
1
1027
* def db = db.setfeature(karate.info.featureFileName)
1
1028
* def separator = java.lang.System.getProperty("file.separator")
1
1029
* def outputpath = db.outputpath()
1
1030
* eval db.ensureDirectory(outputpath)
1
1031
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1032
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1033
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1034
Given path 'geonetwork/srv/dut/inspire'
2
1035
And param service = 'CSW'
0
1036
And param version = '2.0.2'
0
1037
And param request = 'GetRecordById'
0
1038
And param id = '76342a6d-452e-4e21-b5c0-81ff7b1be90e'
1
1039
And param elementsetname = 'full'
0
1040
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1041
When method get
2167
1042
Then status 200
0
1043
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '76342a6d-452e-4e21-b5c0-81ff7b1be90e'
1
1044
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1045
* def title = get response //citation/CI_Citation/title/CharacterString
0
1046
* def email = get response //electronicMailAddress/CharacterString
0
1047
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1048
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1049
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1050
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1051
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1052
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1053
* print organisationpath
0
06:39:42.352 [print] TNO Geologische Dienst Nederland
1054
* print operateson
0
06:39:42.352 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=9dd9bf30-36e6-45ae-b368-bdef2720bdde&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
1055
* eval db.writeln('"76342a6d-452e-4e21-b5c0-81ff7b1be90e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
1056
* eval db.writeln('"76342a6d-452e-4e21-b5c0-81ff7b1be90e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
5
Scenario Outline: [1.33:18]e08079df-6c19-486e-916e-5c9948cfafea
ms: 2236
>>
Background:
1057
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
1058
* def mystorage = Java.type('storage.DataStorage')
3
1059
* def db = new mystorage
1
1060
* def db = db.setfeature(karate.info.featureFileName)
1
1061
* def separator = java.lang.System.getProperty("file.separator")
1
1062
* def outputpath = db.outputpath()
1
1063
* eval db.ensureDirectory(outputpath)
1
1064
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1065
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1066
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1067
Given path 'geonetwork/srv/dut/inspire'
4
1068
And param service = 'CSW'
0
1069
And param version = '2.0.2'
0
1070
And param request = 'GetRecordById'
0
1071
And param id = 'e08079df-6c19-486e-916e-5c9948cfafea'
1
1072
And param elementsetname = 'full'
0
1073
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1074
When method get
2208
1075
Then status 200
0
1076
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e08079df-6c19-486e-916e-5c9948cfafea'
1
1077
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1078
* def title = get response //citation/CI_Citation/title/CharacterString
0
1079
* def email = get response //electronicMailAddress/CharacterString
1
1080
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1081
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1082
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
4
1083
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
4
1084
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1085
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1086
* print organisationpath
2
06:39:42.461 [print] Beheer PDOK
1087
* print operateson
0
06:39:42.461 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=10d1153e-778f-4995-9b6c-7c69b196cccb#MD_DataIdentification
1088
* eval db.writeln('"e08079df-6c19-486e-916e-5c9948cfafea","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
5
1089
* eval db.writeln('"e08079df-6c19-486e-916e-5c9948cfafea","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
5
Scenario Outline: [1.34:18]598c4109-21d2-4a6c-b083-9975a6736849
ms: 2155
>>
Background:
1090
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
1091
* def mystorage = Java.type('storage.DataStorage')
3
1092
* def db = new mystorage
1
1093
* def db = db.setfeature(karate.info.featureFileName)
1
1094
* def separator = java.lang.System.getProperty("file.separator")
1
1095
* def outputpath = db.outputpath()
1
1096
* eval db.ensureDirectory(outputpath)
1
1097
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1098
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1099
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1100
Given path 'geonetwork/srv/dut/inspire'
1
1101
And param service = 'CSW'
0
1102
And param version = '2.0.2'
0
1103
And param request = 'GetRecordById'
0
1104
And param id = '598c4109-21d2-4a6c-b083-9975a6736849'
1
1105
And param elementsetname = 'full'
0
1106
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1107
When method get
2124
1108
Then status 200
0
1109
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '598c4109-21d2-4a6c-b083-9975a6736849'
2
1110
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1111
* def title = get response //citation/CI_Citation/title/CharacterString
1
1112
* def email = get response //electronicMailAddress/CharacterString
0
1113
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
9
1114
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1115
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1116
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1117
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1118
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1119
* print organisationpath
0
06:39:42.458 [print] Beheer PDOK
1120
* print operateson
2
06:39:42.459 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=00d8c7c8-98ff-4b06-8f53-b44216e6e75c#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=701d4eb8-8aae-4708-bba5-3edf6987676d#MD_DataIdentification" ]
1121
* eval db.writeln('"598c4109-21d2-4a6c-b083-9975a6736849","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
9
1122
* eval db.writeln('"598c4109-21d2-4a6c-b083-9975a6736849","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.35:18]6de8b875-c4c2-4469-ac80-0782bb67f285
ms: 2231
>>
Background:
1123
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
1124
* def mystorage = Java.type('storage.DataStorage')
3
1125
* def db = new mystorage
1
1126
* def db = db.setfeature(karate.info.featureFileName)
1
1127
* def separator = java.lang.System.getProperty("file.separator")
1
1128
* def outputpath = db.outputpath()
1
1129
* eval db.ensureDirectory(outputpath)
1
1130
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1131
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1132
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1133
Given path 'geonetwork/srv/dut/inspire'
1
1134
And param service = 'CSW'
0
1135
And param version = '2.0.2'
0
1136
And param request = 'GetRecordById'
0
1137
And param id = '6de8b875-c4c2-4469-ac80-0782bb67f285'
5
1138
And param elementsetname = 'full'
0
1139
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1140
When method get
2205
1141
Then status 200
0
1142
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6de8b875-c4c2-4469-ac80-0782bb67f285'
2
1143
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1144
* def title = get response //citation/CI_Citation/title/CharacterString
0
1145
* def email = get response //electronicMailAddress/CharacterString
1
1146
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1147
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1148
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
1149
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1150
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1151
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1152
* print organisationpath
0
06:39:42.658 [print] Beheer PDOK
1153
* print operateson
0
06:39:42.658 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=7dd1fd45-ace5-41e0-93a6-64e3be231717#MD_DataIdentification
1154
* eval db.writeln('"6de8b875-c4c2-4469-ac80-0782bb67f285","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
10
1155
* eval db.writeln('"6de8b875-c4c2-4469-ac80-0782bb67f285","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
5
Scenario Outline: [1.36:18]3dc373ae-fcf6-49c9-b315-9a2178bffe4a
ms: 2134
>>
Background:
1156
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
1157
* def mystorage = Java.type('storage.DataStorage')
3
1158
* def db = new mystorage
1
1159
* def db = db.setfeature(karate.info.featureFileName)
1
1160
* def separator = java.lang.System.getProperty("file.separator")
1
1161
* def outputpath = db.outputpath()
1
1162
* eval db.ensureDirectory(outputpath)
1
1163
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1164
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1165
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1166
Given path 'geonetwork/srv/dut/inspire'
0
1167
And param service = 'CSW'
0
1168
And param version = '2.0.2'
0
1169
And param request = 'GetRecordById'
0
1170
And param id = '3dc373ae-fcf6-49c9-b315-9a2178bffe4a'
1
1171
And param elementsetname = 'full'
0
1172
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1173
When method get
2111
1174
Then status 200
0
1175
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3dc373ae-fcf6-49c9-b315-9a2178bffe4a'
2
1176
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1177
* def title = get response //citation/CI_Citation/title/CharacterString
0
1178
* def email = get response //electronicMailAddress/CharacterString
0
1179
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1180
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
11
1181
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1182
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1183
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1184
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1185
* print organisationpath
0
06:39:42.583 [print] Beheer PDOK
1186
* print operateson
0
06:39:42.583 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=d6b85d84-cdb9-4a6e-b799-cf8826e22a94#MD_DataIdentification
1187
* eval db.writeln('"3dc373ae-fcf6-49c9-b315-9a2178bffe4a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
1188
* eval db.writeln('"3dc373ae-fcf6-49c9-b315-9a2178bffe4a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.37:18]f61eec5c-cb91-40b6-ad35-9bca967006cc
ms: 2115
>>
Background:
1189
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
1190
* def mystorage = Java.type('storage.DataStorage')
3
1191
* def db = new mystorage
1
1192
* def db = db.setfeature(karate.info.featureFileName)
1
1193
* def separator = java.lang.System.getProperty("file.separator")
1
1194
* def outputpath = db.outputpath()
1
1195
* eval db.ensureDirectory(outputpath)
1
1196
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1197
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1198
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1199
Given path 'geonetwork/srv/dut/inspire'
3
1200
And param service = 'CSW'
0
1201
And param version = '2.0.2'
0
1202
And param request = 'GetRecordById'
0
1203
And param id = 'f61eec5c-cb91-40b6-ad35-9bca967006cc'
1
1204
And param elementsetname = 'full'
0
1205
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1206
When method get
2092
1207
Then status 200
0
1208
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f61eec5c-cb91-40b6-ad35-9bca967006cc'
3
1209
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1210
* def title = get response //citation/CI_Citation/title/CharacterString
0
1211
* def email = get response //electronicMailAddress/CharacterString
0
1212
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1213
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
1214
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1215
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1216
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1217
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1218
* print organisationpath
0
06:39:42.684 [print]
1219
* print operateson
0
06:39:42.684 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=588a4cb1-b442-4ac1-87e4-40401e353166#MD_DataIdentification
1220
* eval db.writeln('"f61eec5c-cb91-40b6-ad35-9bca967006cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
1221
* eval db.writeln('"f61eec5c-cb91-40b6-ad35-9bca967006cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
9
Scenario Outline: [1.38:18]74620aa8-4fa2-414d-8350-50d93e500da8
ms: 2056
>>
Background:
1222
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
1223
* def mystorage = Java.type('storage.DataStorage')
3
1224
* def db = new mystorage
1
1225
* def db = db.setfeature(karate.info.featureFileName)
1
1226
* def separator = java.lang.System.getProperty("file.separator")
1
1227
* def outputpath = db.outputpath()
1
1228
* eval db.ensureDirectory(outputpath)
1
1229
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1230
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1231
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1232
Given path 'geonetwork/srv/dut/inspire'
1
1233
And param service = 'CSW'
0
1234
And param version = '2.0.2'
0
1235
And param request = 'GetRecordById'
0
1236
And param id = '74620aa8-4fa2-414d-8350-50d93e500da8'
1
1237
And param elementsetname = 'full'
0
1238
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1239
When method get
2040
1240
Then status 200
0
1241
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '74620aa8-4fa2-414d-8350-50d93e500da8'
2
1242
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1243
* def title = get response //citation/CI_Citation/title/CharacterString
0
1244
* def email = get response //electronicMailAddress/CharacterString
0
1245
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1246
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
1247
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1248
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1249
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1250
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1251
* print organisationpath
0
06:39:42.773 [print]
1252
* print operateson
0
06:39:42.774 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=50eef6be-619d-4e16-9b92-48971109b636#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=8de2f5eb-b09f-4f6d-8397-8878a1b86238#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9b583730-e750-485a-9c0c-39bf9be72cf8#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a57cb859-c4fe-444c-adc6-be14cb2bbf36#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9b583730-e750-485a-9c0c-39bf9be72cf9#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a57cb859-c4fe-444c-adc6-be14cb2bbf38#MD_DataIdentification" ]
1253
* eval db.writeln('"74620aa8-4fa2-414d-8350-50d93e500da8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
3
1254
* eval db.writeln('"74620aa8-4fa2-414d-8350-50d93e500da8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
5
Scenario Outline: [1.39:18]1b9259fc-dc35-11e3-961c-901b0e19e163
ms: 1872
>>
Background:
1255
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
1256
* def mystorage = Java.type('storage.DataStorage')
3
1257
* def db = new mystorage
1
1258
* def db = db.setfeature(karate.info.featureFileName)
1
1259
* def separator = java.lang.System.getProperty("file.separator")
1
1260
* def outputpath = db.outputpath()
1
1261
* eval db.ensureDirectory(outputpath)
1
1262
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1263
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1264
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1265
Given path 'geonetwork/srv/dut/inspire'
1
1266
And param service = 'CSW'
0
1267
And param version = '2.0.2'
0
1268
And param request = 'GetRecordById'
0
1269
And param id = '1b9259fc-dc35-11e3-961c-901b0e19e163'
1
1270
And param elementsetname = 'full'
0
1271
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1272
When method get
1854
1273
Then status 200
0
1274
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1b9259fc-dc35-11e3-961c-901b0e19e163'
1
1275
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1276
* def title = get response //citation/CI_Citation/title/CharacterString
1
1277
* def email = get response //electronicMailAddress/CharacterString
4
1278
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1279
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
1280
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
1281
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
1282
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
1283
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1284
* print organisationpath
0
06:39:42.703 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI)
1285
* print operateson
0
06:39:42.703 [print] http://data.knmi.nl/inspire/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=64c987ec-dce6-11e3-8563-901b0e19e163&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full
1286
* eval db.writeln('"1b9259fc-dc35-11e3-961c-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
1287
* eval db.writeln('"1b9259fc-dc35-11e3-961c-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.40:18]49ff0584-a173-4098-824c-119edf8447f7
ms: 1784
>>
Background:
1288
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
1289
* def mystorage = Java.type('storage.DataStorage')
3
1290
* def db = new mystorage
1
1291
* def db = db.setfeature(karate.info.featureFileName)
1
1292
* def separator = java.lang.System.getProperty("file.separator")
1
1293
* def outputpath = db.outputpath()
1
1294
* eval db.ensureDirectory(outputpath)
1
1295
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1296
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1297
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1298
Given path 'geonetwork/srv/dut/inspire'
1
1299
And param service = 'CSW'
0
1300
And param version = '2.0.2'
0
1301
And param request = 'GetRecordById'
0
1302
And param id = '49ff0584-a173-4098-824c-119edf8447f7'
1
1303
And param elementsetname = 'full'
0
1304
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1305
When method get
1773
1306
Then status 200
0
1307
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '49ff0584-a173-4098-824c-119edf8447f7'
1
1308
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1309
* def title = get response //citation/CI_Citation/title/CharacterString
0
1310
* def email = get response //electronicMailAddress/CharacterString
0
1311
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1312
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1313
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1314
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1315
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1316
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1317
* print organisationpath
0
06:39:42.800 [print] Rijksdienst voor het Cultureel Erfgoed
1318
* print operateson
0
06:39:42.800 [print] [ "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=6f84efeb-fc1d-4565-a721-80735ea57dbd&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=dfe5b146-354f-4bc7-99b1-6713817afac9&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=4e2ef670-cddd-11dd-ad8b-0800200c9a66&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=88a3c1ae-902e-4efa-8663-ddd836101929&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full" ]
1319
* eval db.writeln('"49ff0584-a173-4098-824c-119edf8447f7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
1320
* eval db.writeln('"49ff0584-a173-4098-824c-119edf8447f7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.41:18]73914696-dc43-11e3-bdbb-901b0e19e163
ms: 1774
>>
Background:
1321
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
1322
* def mystorage = Java.type('storage.DataStorage')
3
1323
* def db = new mystorage
1
1324
* def db = db.setfeature(karate.info.featureFileName)
1
1325
* def separator = java.lang.System.getProperty("file.separator")
1
1326
* def outputpath = db.outputpath()
1
1327
* eval db.ensureDirectory(outputpath)
1
1328
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1329
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1330
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1331
Given path 'geonetwork/srv/dut/inspire'
1
1332
And param service = 'CSW'
0
1333
And param version = '2.0.2'
0
1334
And param request = 'GetRecordById'
0
1335
And param id = '73914696-dc43-11e3-bdbb-901b0e19e163'
1
1336
And param elementsetname = 'full'
0
1337
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1338
When method get
1762
1339
Then status 200
0
1340
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '73914696-dc43-11e3-bdbb-901b0e19e163'
1
1341
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1342
* def title = get response //citation/CI_Citation/title/CharacterString
1
1343
* def email = get response //electronicMailAddress/CharacterString
1
1344
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
1345
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1346
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1347
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
1348
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1349
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1350
* print organisationpath
0
06:39:42.855 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI)
1351
* print operateson
0
06:39:42.855 [print] http://data.knmi.nl/inspire/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=b59f06c0-dce5-11e3-9c10-901b0e19e163&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full
1352
* eval db.writeln('"73914696-dc43-11e3-bdbb-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
1353
* eval db.writeln('"73914696-dc43-11e3-bdbb-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.42:18]d467c2cc-4026-b80a-d4e1a9d2bf79
ms: 1772
>>
Background:
1354
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
1355
* def mystorage = Java.type('storage.DataStorage')
3
1356
* def db = new mystorage
1
1357
* def db = db.setfeature(karate.info.featureFileName)
1
1358
* def separator = java.lang.System.getProperty("file.separator")
1
1359
* def outputpath = db.outputpath()
1
1360
* eval db.ensureDirectory(outputpath)
1
1361
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1362
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1363
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1364
Given path 'geonetwork/srv/dut/inspire'
1
1365
And param service = 'CSW'
0
1366
And param version = '2.0.2'
0
1367
And param request = 'GetRecordById'
0
1368
And param id = 'd467c2cc-4026-b80a-d4e1a9d2bf79'
1
1369
And param elementsetname = 'full'
0
1370
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1371
When method get
1760
1372
Then status 200
0
1373
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd467c2cc-4026-b80a-d4e1a9d2bf79'
1
1374
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1375
* def title = get response //citation/CI_Citation/title/CharacterString
1
1376
* def email = get response //electronicMailAddress/CharacterString
0
1377
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1378
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1379
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
1380
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1381
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1382
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1383
* print organisationpath
0
06:39:42.927 [print] Beheer PDOK
1384
* print operateson
0
06:39:42.927 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=eu-f297898-2640-44c2-bbe9-c0480da83794#MD_DataIdentification
1385
* eval db.writeln('"d467c2cc-4026-b80a-d4e1a9d2bf79","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
1386
* eval db.writeln('"d467c2cc-4026-b80a-d4e1a9d2bf79","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.43:18]4f4c7848-1767-4c67-be08-87d45d07f313
ms: 1840
>>
Background:
1387
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
1388
* def mystorage = Java.type('storage.DataStorage')
3
1389
* def db = new mystorage
1
1390
* def db = db.setfeature(karate.info.featureFileName)
1
1391
* def separator = java.lang.System.getProperty("file.separator")
1
1392
* def outputpath = db.outputpath()
1
1393
* eval db.ensureDirectory(outputpath)
1
1394
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1395
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1396
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1397
Given path 'geonetwork/srv/dut/inspire'
1
1398
And param service = 'CSW'
0
1399
And param version = '2.0.2'
0
1400
And param request = 'GetRecordById'
0
1401
And param id = '4f4c7848-1767-4c67-be08-87d45d07f313'
1
1402
And param elementsetname = 'full'
0
1403
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1404
When method get
1801
1405
Then status 200
0
1406
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4f4c7848-1767-4c67-be08-87d45d07f313'
5
1407
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
3
1408
* def title = get response //citation/CI_Citation/title/CharacterString
6
1409
* def email = get response //electronicMailAddress/CharacterString
3
1410
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
4
1411
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
2
1412
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
2
1413
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
2
1414
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
2
1415
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
3
1416
* print organisationpath
0
06:39:43.095 [print] Beheer PDOK
1417
* print operateson
0
06:39:43.096 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=f273941e-9c3b-43bc-b886-2d50d0bf9348#MD_DataIdentification
1418
* eval db.writeln('"4f4c7848-1767-4c67-be08-87d45d07f313","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
1419
* eval db.writeln('"4f4c7848-1767-4c67-be08-87d45d07f313","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.44:18]f0eb64f9-8888-42e1-9550-bf91c32da4bc
ms: 1756
>>
Background:
1420
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
1421
* def mystorage = Java.type('storage.DataStorage')
3
1422
* def db = new mystorage
1
1423
* def db = db.setfeature(karate.info.featureFileName)
1
1424
* def separator = java.lang.System.getProperty("file.separator")
1
1425
* def outputpath = db.outputpath()
1
1426
* eval db.ensureDirectory(outputpath)
1
1427
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1428
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1429
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1430
Given path 'geonetwork/srv/dut/inspire'
1
1431
And param service = 'CSW'
0
1432
And param version = '2.0.2'
0
1433
And param request = 'GetRecordById'
0
1434
And param id = 'f0eb64f9-8888-42e1-9550-bf91c32da4bc'
1
1435
And param elementsetname = 'full'
0
1436
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1437
When method get
1742
1438
Then status 200
0
1439
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f0eb64f9-8888-42e1-9550-bf91c32da4bc'
1
1440
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1441
* def title = get response //citation/CI_Citation/title/CharacterString
0
1442
* def email = get response //electronicMailAddress/CharacterString
0
1443
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1444
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1445
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
2
1446
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1447
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1448
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1449
* print organisationpath
0
06:39:43.168 [print]
1450
* print operateson
0
06:39:43.168 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e1e99000-ec47-4e9f-84a5-adad24fef0dc#MD_DataIdentification
1451
* eval db.writeln('"f0eb64f9-8888-42e1-9550-bf91c32da4bc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
1452
* eval db.writeln('"f0eb64f9-8888-42e1-9550-bf91c32da4bc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.45:18]a2fdecfc-de33-4ce3-b935-4c9ac18c5a36
ms: 1714
>>
Background:
1453
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
1454
* def mystorage = Java.type('storage.DataStorage')
3
1455
* def db = new mystorage
1
1456
* def db = db.setfeature(karate.info.featureFileName)
1
1457
* def separator = java.lang.System.getProperty("file.separator")
1
1458
* def outputpath = db.outputpath()
1
1459
* eval db.ensureDirectory(outputpath)
1
1460
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1461
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1462
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1463
Given path 'geonetwork/srv/dut/inspire'
1
1464
And param service = 'CSW'
0
1465
And param version = '2.0.2'
0
1466
And param request = 'GetRecordById'
0
1467
And param id = 'a2fdecfc-de33-4ce3-b935-4c9ac18c5a36'
1
1468
And param elementsetname = 'full'
0
1469
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1470
When method get
1697
1471
Then status 200
0
1472
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a2fdecfc-de33-4ce3-b935-4c9ac18c5a36'
2
1473
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1474
* def title = get response //citation/CI_Citation/title/CharacterString
1
1475
* def email = get response //electronicMailAddress/CharacterString
1
1476
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1477
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
1478
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
1479
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
1480
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
1481
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1482
* print organisationpath
0
06:39:43.204 [print] Beheer PDOK
1483
* print operateson
0
06:39:43.204 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=f605a24f-60cd-4c40-94c8-2186aba3ddd0#MD_DataIdentification
1484
* eval db.writeln('"a2fdecfc-de33-4ce3-b935-4c9ac18c5a36","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
3
1485
* eval db.writeln('"a2fdecfc-de33-4ce3-b935-4c9ac18c5a36","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.46:18]488c1e6d-363e-4476-b2ff-17756ac9b35f
ms: 1730
>>
Background:
1486
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
1487
* def mystorage = Java.type('storage.DataStorage')
3
1488
* def db = new mystorage
1
1489
* def db = db.setfeature(karate.info.featureFileName)
1
1490
* def separator = java.lang.System.getProperty("file.separator")
1
1491
* def outputpath = db.outputpath()
1
1492
* eval db.ensureDirectory(outputpath)
1
1493
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1494
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1495
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1496
Given path 'geonetwork/srv/dut/inspire'
1
1497
And param service = 'CSW'
0
1498
And param version = '2.0.2'
0
1499
And param request = 'GetRecordById'
0
1500
And param id = '488c1e6d-363e-4476-b2ff-17756ac9b35f'
1
1501
And param elementsetname = 'full'
0
1502
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1503
When method get
1715
1504
Then status 200
0
1505
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '488c1e6d-363e-4476-b2ff-17756ac9b35f'
2
1506
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1507
* def title = get response //citation/CI_Citation/title/CharacterString
1
1508
* def email = get response //electronicMailAddress/CharacterString
1
1509
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1510
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
1511
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
1512
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
1513
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
1514
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1515
* print organisationpath
0
06:39:43.329 [print] Beheer PDOK
1516
* print operateson
0
06:39:43.329 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=effe1ab0-073d-437c-af13-df5c5e07d6cd#MD_DataIdentification
1517
* eval db.writeln('"488c1e6d-363e-4476-b2ff-17756ac9b35f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
1518
* eval db.writeln('"488c1e6d-363e-4476-b2ff-17756ac9b35f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.47:18]dd49e02c-ea87-4ffc-89dd-f888608d95b7
ms: 1549
>>
Background:
1519
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
1520
* def mystorage = Java.type('storage.DataStorage')
3
1521
* def db = new mystorage
1
1522
* def db = db.setfeature(karate.info.featureFileName)
1
1523
* def separator = java.lang.System.getProperty("file.separator")
1
1524
* def outputpath = db.outputpath()
1
1525
* eval db.ensureDirectory(outputpath)
1
1526
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1527
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1528
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1529
Given path 'geonetwork/srv/dut/inspire'
0
1530
And param service = 'CSW'
0
1531
And param version = '2.0.2'
0
1532
And param request = 'GetRecordById'
0
1533
And param id = 'dd49e02c-ea87-4ffc-89dd-f888608d95b7'
1
1534
And param elementsetname = 'full'
0
1535
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1536
When method get
1537
1537
Then status 200
0
1538
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'dd49e02c-ea87-4ffc-89dd-f888608d95b7'
1
1539
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1540
* def title = get response //citation/CI_Citation/title/CharacterString
0
1541
* def email = get response //electronicMailAddress/CharacterString
0
1542
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1543
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1544
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1545
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1546
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1547
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1548
* print organisationpath
0
06:39:43.148 [print] Beheer PDOK
1549
* print operateson
0
06:39:43.148 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4961d305-fbb5-426a-9ba3-53e1ca5f3b18
1550
* eval db.writeln('"dd49e02c-ea87-4ffc-89dd-f888608d95b7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
1551
* eval db.writeln('"dd49e02c-ea87-4ffc-89dd-f888608d95b7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.48:18]a6098c24-4caf-4528-954c-672b9ec6cf78
ms: 607
>>
Background:
1552
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
1553
* def mystorage = Java.type('storage.DataStorage')
3
1554
* def db = new mystorage
1
1555
* def db = db.setfeature(karate.info.featureFileName)
1
1556
* def separator = java.lang.System.getProperty("file.separator")
1
1557
* def outputpath = db.outputpath()
1
1558
* eval db.ensureDirectory(outputpath)
1
1559
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1560
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1561
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1562
Given path 'geonetwork/srv/dut/inspire'
1
1563
And param service = 'CSW'
0
1564
And param version = '2.0.2'
0
1565
And param request = 'GetRecordById'
0
1566
And param id = 'a6098c24-4caf-4528-954c-672b9ec6cf78'
1
1567
And param elementsetname = 'full'
0
1568
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1569
When method get
595
1570
Then status 200
0
1571
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a6098c24-4caf-4528-954c-672b9ec6cf78'
1
1572
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1573
* def title = get response //citation/CI_Citation/title/CharacterString
0
1574
* def email = get response //electronicMailAddress/CharacterString
0
1575
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1576
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1577
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1578
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1579
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1580
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1581
* print organisationpath
0
06:39:42.321 [print]
1582
* print operateson
0
06:39:42.321 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=32a21114-8694-40ce-ab76-9dcd885c7861#MD_DataIdentification
1583
* eval db.writeln('"a6098c24-4caf-4528-954c-672b9ec6cf78","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
1584
* eval db.writeln('"a6098c24-4caf-4528-954c-672b9ec6cf78","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.49:18]7827b68f-647e-46cc-a02a-cac48eaa5dda
ms: 1678
>>
Background:
1585
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
1586
* def mystorage = Java.type('storage.DataStorage')
3
1587
* def db = new mystorage
1
1588
* def db = db.setfeature(karate.info.featureFileName)
1
1589
* def separator = java.lang.System.getProperty("file.separator")
1
1590
* def outputpath = db.outputpath()
1
1591
* eval db.ensureDirectory(outputpath)
1
1592
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1593
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1594
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1595
Given path 'geonetwork/srv/dut/inspire'
1
1596
And param service = 'CSW'
0
1597
And param version = '2.0.2'
0
1598
And param request = 'GetRecordById'
0
1599
And param id = '7827b68f-647e-46cc-a02a-cac48eaa5dda'
1
1600
And param elementsetname = 'full'
0
1601
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1602
When method get
1667
1603
Then status 200
0
1604
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7827b68f-647e-46cc-a02a-cac48eaa5dda'
1
1605
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1606
* def title = get response //citation/CI_Citation/title/CharacterString
0
1607
* def email = get response //electronicMailAddress/CharacterString
0
1608
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1609
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1610
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1611
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1612
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1613
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1614
* print organisationpath
0
06:39:43.456 [print] Beheer PDOK
1615
* print operateson
0
06:39:43.456 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=58d39928-f502-48c9-a8c1-03244dc181bf#MD_DataIdentification
1616
* eval db.writeln('"7827b68f-647e-46cc-a02a-cac48eaa5dda","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
1617
* eval db.writeln('"7827b68f-647e-46cc-a02a-cac48eaa5dda","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.50:18]d4dded2c-65ec-4e13-897e-03278d53a958
ms: 1654
>>
Background:
1618
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
1619
* def mystorage = Java.type('storage.DataStorage')
3
1620
* def db = new mystorage
1
1621
* def db = db.setfeature(karate.info.featureFileName)
1
1622
* def separator = java.lang.System.getProperty("file.separator")
1
1623
* def outputpath = db.outputpath()
1
1624
* eval db.ensureDirectory(outputpath)
1
1625
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1626
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1627
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1628
Given path 'geonetwork/srv/dut/inspire'
1
1629
And param service = 'CSW'
0
1630
And param version = '2.0.2'
0
1631
And param request = 'GetRecordById'
0
1632
And param id = 'd4dded2c-65ec-4e13-897e-03278d53a958'
1
1633
And param elementsetname = 'full'
0
1634
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1635
When method get
1643
1636
Then status 200
0
1637
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd4dded2c-65ec-4e13-897e-03278d53a958'
1
1638
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1639
* def title = get response //citation/CI_Citation/title/CharacterString
0
1640
* def email = get response //electronicMailAddress/CharacterString
0
1641
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
1642
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1643
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1644
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1645
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1646
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1647
* print organisationpath
0
06:39:43.497 [print]
1648
* print operateson
0
06:39:43.498 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=b61a773c-ecad-4e60-93e9-0a4caac0b52f&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
1649
* eval db.writeln('"d4dded2c-65ec-4e13-897e-03278d53a958","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
1650
* eval db.writeln('"d4dded2c-65ec-4e13-897e-03278d53a958","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.51:18]7e87a655-c4eb-404d-9d0a-efa2dccef7cc
ms: 1759
>>
Background:
1651
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
1652
* def mystorage = Java.type('storage.DataStorage')
3
1653
* def db = new mystorage
1
1654
* def db = db.setfeature(karate.info.featureFileName)
1
1655
* def separator = java.lang.System.getProperty("file.separator")
1
1656
* def outputpath = db.outputpath()
1
1657
* eval db.ensureDirectory(outputpath)
1
1658
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1659
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1660
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1661
Given path 'geonetwork/srv/dut/inspire'
1
1662
And param service = 'CSW'
0
1663
And param version = '2.0.2'
0
1664
And param request = 'GetRecordById'
0
1665
And param id = '7e87a655-c4eb-404d-9d0a-efa2dccef7cc'
1
1666
And param elementsetname = 'full'
0
1667
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1668
When method get
1744
1669
Then status 200
0
1670
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7e87a655-c4eb-404d-9d0a-efa2dccef7cc'
1
1671
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1672
* def title = get response //citation/CI_Citation/title/CharacterString
1
1673
* def email = get response //electronicMailAddress/CharacterString
0
1674
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1675
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1676
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1677
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1678
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1679
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1680
* print organisationpath
0
06:39:43.646 [print] Beheer PDOK
1681
* print operateson
0
06:39:43.646 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=1a40eb6f-4f33-4e15-a0b1-2d350ad2636e#MD_DataIdentification
1682
* eval db.writeln('"7e87a655-c4eb-404d-9d0a-efa2dccef7cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
1683
* eval db.writeln('"7e87a655-c4eb-404d-9d0a-efa2dccef7cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
6
Scenario Outline: [1.52:18]30f65c89-2246-49f8-8b50-0f1140d6f2aa
ms: 1661
>>
Background:
1684
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
1685
* def mystorage = Java.type('storage.DataStorage')
3
1686
* def db = new mystorage
1
1687
* def db = db.setfeature(karate.info.featureFileName)
1
1688
* def separator = java.lang.System.getProperty("file.separator")
1
1689
* def outputpath = db.outputpath()
1
1690
* eval db.ensureDirectory(outputpath)
1
1691
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1692
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1693
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1694
Given path 'geonetwork/srv/dut/inspire'
1
1695
And param service = 'CSW'
0
1696
And param version = '2.0.2'
0
1697
And param request = 'GetRecordById'
0
1698
And param id = '30f65c89-2246-49f8-8b50-0f1140d6f2aa'
1
1699
And param elementsetname = 'full'
0
1700
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1701
When method get
1648
1702
Then status 200
0
1703
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '30f65c89-2246-49f8-8b50-0f1140d6f2aa'
1
1704
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1705
* def title = get response //citation/CI_Citation/title/CharacterString
1
1706
* def email = get response //electronicMailAddress/CharacterString
1
1707
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1708
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1709
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
1710
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1711
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1712
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1713
* print organisationpath
0
06:39:43.623 [print] Beheer PDOK
1714
* print operateson
0
06:39:43.623 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification
1715
* eval db.writeln('"30f65c89-2246-49f8-8b50-0f1140d6f2aa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
1716
* eval db.writeln('"30f65c89-2246-49f8-8b50-0f1140d6f2aa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.53:18]008d85d1-460d-46f6-9af4-98afdedbc4dc
ms: 1825
>>
Background:
1717
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
1718
* def mystorage = Java.type('storage.DataStorage')
3
1719
* def db = new mystorage
1
1720
* def db = db.setfeature(karate.info.featureFileName)
1
1721
* def separator = java.lang.System.getProperty("file.separator")
1
1722
* def outputpath = db.outputpath()
1
1723
* eval db.ensureDirectory(outputpath)
1
1724
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1725
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1726
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1727
Given path 'geonetwork/srv/dut/inspire'
1
1728
And param service = 'CSW'
0
1729
And param version = '2.0.2'
0
1730
And param request = 'GetRecordById'
0
1731
And param id = '008d85d1-460d-46f6-9af4-98afdedbc4dc'
1
1732
And param elementsetname = 'full'
0
1733
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1734
When method get
1805
1735
Then status 200
0
1736
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '008d85d1-460d-46f6-9af4-98afdedbc4dc'
1
1737
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1738
* def title = get response //citation/CI_Citation/title/CharacterString
0
1739
* def email = get response //electronicMailAddress/CharacterString
0
1740
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
1741
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1742
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1743
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1744
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1745
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1746
* print organisationpath
0
06:39:43.797 [print] Beheer PDOK
1747
* print operateson
0
06:39:43.797 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=76541ebb-a554-4540-a017-399d4bb4a860#MD_DataIdentification
1748
* eval db.writeln('"008d85d1-460d-46f6-9af4-98afdedbc4dc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
6
1749
* eval db.writeln('"008d85d1-460d-46f6-9af4-98afdedbc4dc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
7
Scenario Outline: [1.54:18]171b28f6-7ee7-46f9-b3b3-06d0baaa33db
ms: 1851
>>
Background:
1750
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
1751
* def mystorage = Java.type('storage.DataStorage')
3
1752
* def db = new mystorage
1
1753
* def db = db.setfeature(karate.info.featureFileName)
1
1754
* def separator = java.lang.System.getProperty("file.separator")
1
1755
* def outputpath = db.outputpath()
1
1756
* eval db.ensureDirectory(outputpath)
1
1757
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1758
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1759
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1760
Given path 'geonetwork/srv/dut/inspire'
5
1761
And param service = 'CSW'
0
1762
And param version = '2.0.2'
0
1763
And param request = 'GetRecordById'
0
1764
And param id = '171b28f6-7ee7-46f9-b3b3-06d0baaa33db'
1
1765
And param elementsetname = 'full'
3
1766
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1767
When method get
1826
1768
Then status 200
0
1769
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '171b28f6-7ee7-46f9-b3b3-06d0baaa33db'
1
1770
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1771
* def title = get response //citation/CI_Citation/title/CharacterString
0
1772
* def email = get response //electronicMailAddress/CharacterString
0
1773
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
1774
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1775
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1776
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1777
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1778
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1779
* print organisationpath
0
06:39:43.874 [print] Beheer PDOK
1780
* print operateson
0
06:39:43.874 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=76541ebb-a554-4540-a017-399d4bb4a860#MD_DataIdentification
1781
* eval db.writeln('"171b28f6-7ee7-46f9-b3b3-06d0baaa33db","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
3
1782
* eval db.writeln('"171b28f6-7ee7-46f9-b3b3-06d0baaa33db","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
7
Scenario Outline: [1.55:18]25c69c01-8dfa-406f-bbcb-24feba25dcc6
ms: 1759
>>
Background:
1783
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
1784
* def mystorage = Java.type('storage.DataStorage')
3
1785
* def db = new mystorage
1
1786
* def db = db.setfeature(karate.info.featureFileName)
1
1787
* def separator = java.lang.System.getProperty("file.separator")
1
1788
* def outputpath = db.outputpath()
1
1789
* eval db.ensureDirectory(outputpath)
1
1790
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1791
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1792
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1793
Given path 'geonetwork/srv/dut/inspire'
1
1794
And param service = 'CSW'
0
1795
And param version = '2.0.2'
0
1796
And param request = 'GetRecordById'
0
1797
And param id = '25c69c01-8dfa-406f-bbcb-24feba25dcc6'
1
1798
And param elementsetname = 'full'
0
1799
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1800
When method get
1743
1801
Then status 200
0
1802
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '25c69c01-8dfa-406f-bbcb-24feba25dcc6'
1
1803
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1804
* def title = get response //citation/CI_Citation/title/CharacterString
0
1805
* def email = get response //electronicMailAddress/CharacterString
0
1806
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1807
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1808
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1809
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
2
1810
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1811
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1812
* print organisationpath
0
06:39:43.934 [print] Beheer PDOK
1813
* print operateson
0
06:39:43.934 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=49ab8bee-b467-486a-96ca-b950443c453a#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=f002bfc5-7d87-46b6-819e-8415422b65c9#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=f0821bfe-5a0a-11e9-8647-d663bd873d93#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=60a2a7c2-d5b3-4ad5-b562-c448695357fb#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=c7d8d77b-8c47-4309-8c58-9b12b086407f#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=ca94a0cb-7561-4a10-a7d6-b840e56c33ff#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=cc408b2d-09a6-4b2b-9aa3-b46bfe2f00a5#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=998ba1dc-f6a6-49a3-a021-51f30d9b1d0e#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=49ab8bee-b467-486a-96ca-b950443c453a#MD_DataIdentification" ]
1814
* eval db.writeln('"25c69c01-8dfa-406f-bbcb-24feba25dcc6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
1815
* eval db.writeln('"25c69c01-8dfa-406f-bbcb-24feba25dcc6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
5
Scenario Outline: [1.56:18]77971fa3-f869-4726-969a-482e0b1a8c5d
ms: 1670
>>
Background:
1816
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
1817
* def mystorage = Java.type('storage.DataStorage')
3
1818
* def db = new mystorage
1
1819
* def db = db.setfeature(karate.info.featureFileName)
1
1820
* def separator = java.lang.System.getProperty("file.separator")
1
1821
* def outputpath = db.outputpath()
1
1822
* eval db.ensureDirectory(outputpath)
1
1823
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1824
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1825
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1826
Given path 'geonetwork/srv/dut/inspire'
1
1827
And param service = 'CSW'
0
1828
And param version = '2.0.2'
0
1829
And param request = 'GetRecordById'
0
1830
And param id = '77971fa3-f869-4726-969a-482e0b1a8c5d'
1
1831
And param elementsetname = 'full'
0
1832
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1833
When method get
1654
1834
Then status 200
0
1835
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '77971fa3-f869-4726-969a-482e0b1a8c5d'
1
1836
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
5
1837
* def title = get response //citation/CI_Citation/title/CharacterString
0
1838
* def email = get response //electronicMailAddress/CharacterString
0
1839
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
1840
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1841
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1842
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1843
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1844
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1845
* print organisationpath
0
06:39:43.992 [print] TNO Geologische Dienst Nederland
1846
* print operateson
0
06:39:43.992 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=80630ee7-3a15-4ea0-bdc0-a8aebfa2f204&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
1847
* eval db.writeln('"77971fa3-f869-4726-969a-482e0b1a8c5d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
1848
* eval db.writeln('"77971fa3-f869-4726-969a-482e0b1a8c5d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.57:18]94f241c2-43a2-42c3-8e9e-71976605aa0e
ms: 1914
>>
Background:
1849
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
1850
* def mystorage = Java.type('storage.DataStorage')
3
1851
* def db = new mystorage
1
1852
* def db = db.setfeature(karate.info.featureFileName)
1
1853
* def separator = java.lang.System.getProperty("file.separator")
1
1854
* def outputpath = db.outputpath()
1
1855
* eval db.ensureDirectory(outputpath)
1
1856
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1857
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1858
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1859
Given path 'geonetwork/srv/dut/inspire'
1
1860
And param service = 'CSW'
0
1861
And param version = '2.0.2'
0
1862
And param request = 'GetRecordById'
0
1863
And param id = '94f241c2-43a2-42c3-8e9e-71976605aa0e'
1
1864
And param elementsetname = 'full'
0
1865
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1866
When method get
1885
1867
Then status 200
0
1868
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '94f241c2-43a2-42c3-8e9e-71976605aa0e'
2
1869
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1870
* def title = get response //citation/CI_Citation/title/CharacterString
1
1871
* def email = get response //electronicMailAddress/CharacterString
1
1872
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1873
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
1874
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
1875
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
6
1876
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
1877
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1878
* print organisationpath
1
06:39:44.266 [print] Beheer PDOK
1879
* print operateson
0
06:39:44.266 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=29d5310f-dd0d-45ba-abad-b4ffc6b8785f#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=af0c582f-9e6b-46e6-865a-fc3a2d5289b9#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=81ff84ec-42a4-4481-840b-12713bbb5d38#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3eebf700-5abf-42e4-826c-03cfb497e366#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=4b282988-cb91-4bbc-b147-f653014917cb#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=0558a41c-b09a-47fa-b8db-9de6bfe4f494#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=9d9f1738-aced-47c9-aaa0-c62474a2dcfb#MD_DataIdentification" ]
1880
* eval db.writeln('"94f241c2-43a2-42c3-8e9e-71976605aa0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
1881
* eval db.writeln('"94f241c2-43a2-42c3-8e9e-71976605aa0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
7
Scenario Outline: [1.58:18]c226f573-4b39-4cbd-b84b-01f308e70972
ms: 1646
>>
Background:
1882
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
1883
* def mystorage = Java.type('storage.DataStorage')
3
1884
* def db = new mystorage
1
1885
* def db = db.setfeature(karate.info.featureFileName)
1
1886
* def separator = java.lang.System.getProperty("file.separator")
1
1887
* def outputpath = db.outputpath()
1
1888
* eval db.ensureDirectory(outputpath)
1
1889
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1890
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1891
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1892
Given path 'geonetwork/srv/dut/inspire'
1
1893
And param service = 'CSW'
0
1894
And param version = '2.0.2'
0
1895
And param request = 'GetRecordById'
0
1896
And param id = 'c226f573-4b39-4cbd-b84b-01f308e70972'
1
1897
And param elementsetname = 'full'
0
1898
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1899
When method get
1626
1900
Then status 200
0
1901
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c226f573-4b39-4cbd-b84b-01f308e70972'
2
1902
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1903
* def title = get response //citation/CI_Citation/title/CharacterString
1
1904
* def email = get response //electronicMailAddress/CharacterString
0
1905
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1906
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1907
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
6
1908
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1909
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1910
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1911
* print organisationpath
0
06:39:44.115 [print] Beheer PDOK
1912
* print operateson
0
06:39:44.115 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=71c2b7d2-a1a8-4836-b8d4-7247d331b04d#MD_DataIdentification
1913
* eval db.writeln('"c226f573-4b39-4cbd-b84b-01f308e70972","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
1914
* eval db.writeln('"c226f573-4b39-4cbd-b84b-01f308e70972","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.59:18]f39d198a-1e69-43cc-b359-cc60a8c22d28
ms: 570
>>
Background:
1915
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
1916
* def mystorage = Java.type('storage.DataStorage')
3
1917
* def db = new mystorage
1
1918
* def db = db.setfeature(karate.info.featureFileName)
1
1919
* def separator = java.lang.System.getProperty("file.separator")
1
1920
* def outputpath = db.outputpath()
1
1921
* eval db.ensureDirectory(outputpath)
1
1922
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1923
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1924
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1925
Given path 'geonetwork/srv/dut/inspire'
1
1926
And param service = 'CSW'
0
1927
And param version = '2.0.2'
0
1928
And param request = 'GetRecordById'
0
1929
And param id = 'f39d198a-1e69-43cc-b359-cc60a8c22d28'
5
1930
And param elementsetname = 'full'
0
1931
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1932
When method get
553
1933
Then status 200
0
1934
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f39d198a-1e69-43cc-b359-cc60a8c22d28'
1
1935
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1936
* def title = get response //citation/CI_Citation/title/CharacterString
0
1937
* def email = get response //electronicMailAddress/CharacterString
0
1938
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1939
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
1940
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1941
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1942
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1943
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1944
* print organisationpath
0
06:39:43.042 [print]
1945
* print operateson
1
06:39:43.043 [print] [ "http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=733559a5-201d-40e5-ad43-d1c7bae84d9f#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d3c9efd6-fca7-49d6-92bb-5f507abece90#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=af135cd8-d429-4fc7-b9e3-09e15217520d#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=b3ec8793-7747-4da0-b6c3-aa384446a586#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5800f3b0-2ea2-4231-8165-216a7b26867f#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d8f370e8-123c-4ab3-9410-04f728327ac6#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f91c6ad6-62a5-46d0-8a5b-8a62e7a4b833#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=500d396f-5ec6-4e4b-a151-5fb3cddd8082#MD_DataIdentification" ]
1946
* eval db.writeln('"f39d198a-1e69-43cc-b359-cc60a8c22d28","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
1947
* eval db.writeln('"f39d198a-1e69-43cc-b359-cc60a8c22d28","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.60:18]00e8746f-5031-413e-8343-9203c8ea82ee
ms: 1674
>>
Background:
1948
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
1949
* def mystorage = Java.type('storage.DataStorage')
3
1950
* def db = new mystorage
1
1951
* def db = db.setfeature(karate.info.featureFileName)
1
1952
* def separator = java.lang.System.getProperty("file.separator")
1
1953
* def outputpath = db.outputpath()
1
1954
* eval db.ensureDirectory(outputpath)
1
1955
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1956
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1957
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1958
Given path 'geonetwork/srv/dut/inspire'
1
1959
And param service = 'CSW'
0
1960
And param version = '2.0.2'
0
1961
And param request = 'GetRecordById'
0
1962
And param id = '00e8746f-5031-413e-8343-9203c8ea82ee'
1
1963
And param elementsetname = 'full'
0
1964
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1965
When method get
1649
1966
Then status 200
0
1967
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '00e8746f-5031-413e-8343-9203c8ea82ee'
5
1968
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1969
* def title = get response //citation/CI_Citation/title/CharacterString
0
1970
* def email = get response //electronicMailAddress/CharacterString
0
1971
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1972
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1973
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1974
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
9
1975
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1976
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1977
* print organisationpath
0
06:39:44.256 [print] Interprovinciaal Overleg
1978
* print operateson
0
06:39:44.256 [print] [ "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=88f76a94-ee4d-4e0c-9fde-91b692403e39&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=08af1182-91fe-4d21-aa21-ee002953c3cc&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=d91126e0-e37b-11e4-b571-0800200c9a66&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=667ebfb0-e37c-11e4-b571-0800200c9a66&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification" ]
1979
* eval db.writeln('"00e8746f-5031-413e-8343-9203c8ea82ee","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
1980
* eval db.writeln('"00e8746f-5031-413e-8343-9203c8ea82ee","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
5
Scenario Outline: [1.61:18]6b608d4e-5628-4d59-97fc-0322c57357b2
ms: 1628
>>
Background:
1981
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
1982
* def mystorage = Java.type('storage.DataStorage')
3
1983
* def db = new mystorage
1
1984
* def db = db.setfeature(karate.info.featureFileName)
1
1985
* def separator = java.lang.System.getProperty("file.separator")
1
1986
* def outputpath = db.outputpath()
1
1987
* eval db.ensureDirectory(outputpath)
1
1988
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1989
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1990
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1991
Given path 'geonetwork/srv/dut/inspire'
1
1992
And param service = 'CSW'
0
1993
And param version = '2.0.2'
0
1994
And param request = 'GetRecordById'
0
1995
And param id = '6b608d4e-5628-4d59-97fc-0322c57357b2'
12
1996
And param elementsetname = 'full'
1
1997
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1998
When method get
1605
1999
Then status 200
0
2000
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6b608d4e-5628-4d59-97fc-0322c57357b2'
1
2001
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2002
* def title = get response //citation/CI_Citation/title/CharacterString
0
2003
* def email = get response //electronicMailAddress/CharacterString
0
2004
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2005
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2006
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2007
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2008
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2009
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2010
* print organisationpath
0
06:39:44.298 [print] Beheer PDOK
2011
* print operateson
0
06:39:44.298 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=fe0e1e5f-512f-4bb1-bbf8-4028d3dfa24f#MD_DataIdentification
2012
* eval db.writeln('"6b608d4e-5628-4d59-97fc-0322c57357b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
2013
* eval db.writeln('"6b608d4e-5628-4d59-97fc-0322c57357b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.62:18]1a8d5470-8c5e-477a-ab6b-4893b6d21ab6
ms: 1737
>>
Background:
2014
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
2015
* def mystorage = Java.type('storage.DataStorage')
3
2016
* def db = new mystorage
1
2017
* def db = db.setfeature(karate.info.featureFileName)
1
2018
* def separator = java.lang.System.getProperty("file.separator")
1
2019
* def outputpath = db.outputpath()
1
2020
* eval db.ensureDirectory(outputpath)
1
2021
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2022
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2023
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2024
Given path 'geonetwork/srv/dut/inspire'
1
2025
And param service = 'CSW'
0
2026
And param version = '2.0.2'
0
2027
And param request = 'GetRecordById'
0
2028
And param id = '1a8d5470-8c5e-477a-ab6b-4893b6d21ab6'
1
2029
And param elementsetname = 'full'
0
2030
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2031
When method get
1727
2032
Then status 200
0
2033
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1a8d5470-8c5e-477a-ab6b-4893b6d21ab6'
1
2034
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2035
* def title = get response //citation/CI_Citation/title/CharacterString
0
2036
* def email = get response //electronicMailAddress/CharacterString
0
2037
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
2038
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2039
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2040
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2041
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2042
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2043
* print organisationpath
0
06:39:44.429 [print] TNO Geologische Dienst Nederland
2044
* print operateson
0
06:39:44.429 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=6c1cf452-8c62-4046-99ab-640a5e184f9c&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
2045
* eval db.writeln('"1a8d5470-8c5e-477a-ab6b-4893b6d21ab6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
2046
* eval db.writeln('"1a8d5470-8c5e-477a-ab6b-4893b6d21ab6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.63:18]93a9571d-1754-47ee-a8f9-92633abfab3a
ms: 1710
>>
Background:
2047
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
2048
* def mystorage = Java.type('storage.DataStorage')
3
2049
* def db = new mystorage
1
2050
* def db = db.setfeature(karate.info.featureFileName)
1
2051
* def separator = java.lang.System.getProperty("file.separator")
1
2052
* def outputpath = db.outputpath()
1
2053
* eval db.ensureDirectory(outputpath)
1
2054
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2055
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2056
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2057
Given path 'geonetwork/srv/dut/inspire'
0
2058
And param service = 'CSW'
0
2059
And param version = '2.0.2'
0
2060
And param request = 'GetRecordById'
0
2061
And param id = '93a9571d-1754-47ee-a8f9-92633abfab3a'
1
2062
And param elementsetname = 'full'
0
2063
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2064
When method get
1698
2065
Then status 200
0
2066
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '93a9571d-1754-47ee-a8f9-92633abfab3a'
1
2067
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2068
* def title = get response //citation/CI_Citation/title/CharacterString
0
2069
* def email = get response //electronicMailAddress/CharacterString
0
2070
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
2071
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2072
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2073
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2074
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2075
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2076
* print organisationpath
0
06:39:44.412 [print]
2077
* print operateson
0
06:39:44.413 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=3703b249-a0eb-484e-ba7a-10e31a55bcec&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
2078
* eval db.writeln('"93a9571d-1754-47ee-a8f9-92633abfab3a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
3
2079
* eval db.writeln('"93a9571d-1754-47ee-a8f9-92633abfab3a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.64:18]542b330b-d3c6-4617-b97f-693e5cfd1872
ms: 1730
>>
Background:
2080
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
2081
* def mystorage = Java.type('storage.DataStorage')
3
2082
* def db = new mystorage
1
2083
* def db = db.setfeature(karate.info.featureFileName)
1
2084
* def separator = java.lang.System.getProperty("file.separator")
1
2085
* def outputpath = db.outputpath()
1
2086
* eval db.ensureDirectory(outputpath)
1
2087
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2088
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2089
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2090
Given path 'geonetwork/srv/dut/inspire'
1
2091
And param service = 'CSW'
0
2092
And param version = '2.0.2'
0
2093
And param request = 'GetRecordById'
0
2094
And param id = '542b330b-d3c6-4617-b97f-693e5cfd1872'
1
2095
And param elementsetname = 'full'
0
2096
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2097
When method get
1716
2098
Then status 200
0
2099
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '542b330b-d3c6-4617-b97f-693e5cfd1872'
1
2100
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2101
* def title = get response //citation/CI_Citation/title/CharacterString
0
2102
* def email = get response //electronicMailAddress/CharacterString
0
2103
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
2104
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2105
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2106
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
2107
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2108
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2109
* print organisationpath
3
06:39:44.509 [print] TNO Geologische Dienst Nederland
2110
* print operateson
0
06:39:44.509 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=24de356e-ec4d-4a18-9903-6401d222b77c&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
2111
* eval db.writeln('"542b330b-d3c6-4617-b97f-693e5cfd1872","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
2112
* eval db.writeln('"542b330b-d3c6-4617-b97f-693e5cfd1872","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.65:18]a7ed73f4-e16d-46a3-befa-603370cfb6e8
ms: 1946
>>
Background:
2113
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
2114
* def mystorage = Java.type('storage.DataStorage')
3
2115
* def db = new mystorage
1
2116
* def db = db.setfeature(karate.info.featureFileName)
1
2117
* def separator = java.lang.System.getProperty("file.separator")
1
2118
* def outputpath = db.outputpath()
1
2119
* eval db.ensureDirectory(outputpath)
1
2120
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2121
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2122
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2123
Given path 'geonetwork/srv/dut/inspire'
1
2124
And param service = 'CSW'
0
2125
And param version = '2.0.2'
0
2126
And param request = 'GetRecordById'
0
2127
And param id = 'a7ed73f4-e16d-46a3-befa-603370cfb6e8'
1
2128
And param elementsetname = 'full'
0
2129
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2130
When method get
1928
2131
Then status 200
0
2132
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a7ed73f4-e16d-46a3-befa-603370cfb6e8'
2
2133
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2134
* def title = get response //citation/CI_Citation/title/CharacterString
0
2135
* def email = get response //electronicMailAddress/CharacterString
0
2136
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2137
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2138
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2139
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
2
2140
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
2
2141
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
2142
* print organisationpath
0
06:39:44.745 [print] Beheer PDOK
2143
* print operateson
0
06:39:44.745 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=db8d613f-5edc-4467-9cc0-e2dcfb9d64a8#MD_DataIdentification
2144
* eval db.writeln('"a7ed73f4-e16d-46a3-befa-603370cfb6e8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
3
2145
* eval db.writeln('"a7ed73f4-e16d-46a3-befa-603370cfb6e8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.66:18]f1dadc2c-6de2-415a-a2b7-aaf057ddda43
ms: 2010
>>
Background:
2146
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
2147
* def mystorage = Java.type('storage.DataStorage')
3
2148
* def db = new mystorage
1
2149
* def db = db.setfeature(karate.info.featureFileName)
1
2150
* def separator = java.lang.System.getProperty("file.separator")
1
2151
* def outputpath = db.outputpath()
1
2152
* eval db.ensureDirectory(outputpath)
1
2153
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2154
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2155
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2156
Given path 'geonetwork/srv/dut/inspire'
0
2157
And param service = 'CSW'
0
2158
And param version = '2.0.2'
0
2159
And param request = 'GetRecordById'
0
2160
And param id = 'f1dadc2c-6de2-415a-a2b7-aaf057ddda43'
1
2161
And param elementsetname = 'full'
0
2162
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2163
When method get
2000
2164
Then status 200
0
2165
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f1dadc2c-6de2-415a-a2b7-aaf057ddda43'
1
2166
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2167
* def title = get response //citation/CI_Citation/title/CharacterString
0
2168
* def email = get response //electronicMailAddress/CharacterString
0
2169
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
2170
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2171
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2172
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2173
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2174
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2175
* print organisationpath
0
06:39:44.867 [print] Beheer PDOK
2176
* print operateson
0
06:39:44.867 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=76091be7-358a-4a44-8182-b4139c96c6a4#MD_DataIdentification
2177
* eval db.writeln('"f1dadc2c-6de2-415a-a2b7-aaf057ddda43","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
2178
* eval db.writeln('"f1dadc2c-6de2-415a-a2b7-aaf057ddda43","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.67:18]a301ddc7-c26f-42d8-b367-509ae5ae47d0
ms: 1881
>>
Background:
2179
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
2180
* def mystorage = Java.type('storage.DataStorage')
3
2181
* def db = new mystorage
1
2182
* def db = db.setfeature(karate.info.featureFileName)
1
2183
* def separator = java.lang.System.getProperty("file.separator")
1
2184
* def outputpath = db.outputpath()
1
2185
* eval db.ensureDirectory(outputpath)
1
2186
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2187
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2188
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2189
Given path 'geonetwork/srv/dut/inspire'
1
2190
And param service = 'CSW'
0
2191
And param version = '2.0.2'
0
2192
And param request = 'GetRecordById'
0
2193
And param id = 'a301ddc7-c26f-42d8-b367-509ae5ae47d0'
1
2194
And param elementsetname = 'full'
0
2195
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2196
When method get
1869
2197
Then status 200
0
2198
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a301ddc7-c26f-42d8-b367-509ae5ae47d0'
1
2199
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2200
* def title = get response //citation/CI_Citation/title/CharacterString
1
2201
* def email = get response //electronicMailAddress/CharacterString
0
2202
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2203
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2204
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2205
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2206
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2207
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
2208
* print organisationpath
0
06:39:44.809 [print] Beheer PDOK
2209
* print operateson
0
06:39:44.810 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=74aca3eb-c38b-4214-9537-e0abc69e11b5#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5b274449-b6c2-4672-a32f-e0bd40975a53#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=df15af6e-0d21-4437-a69f-802be3479bba#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=64ff8561-5c56-4cc1-ae0e-94366fb70b7e#MD_DataIdentification" ]
2210
* eval db.writeln('"a301ddc7-c26f-42d8-b367-509ae5ae47d0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
2211
* eval db.writeln('"a301ddc7-c26f-42d8-b367-509ae5ae47d0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.68:18]108fec55-e467-4d04-ab35-fd0d7060e3e2
ms: 1805
>>
Background:
2212
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
2213
* def mystorage = Java.type('storage.DataStorage')
3
2214
* def db = new mystorage
1
2215
* def db = db.setfeature(karate.info.featureFileName)
1
2216
* def separator = java.lang.System.getProperty("file.separator")
1
2217
* def outputpath = db.outputpath()
1
2218
* eval db.ensureDirectory(outputpath)
1
2219
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2220
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2221
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2222
Given path 'geonetwork/srv/dut/inspire'
1
2223
And param service = 'CSW'
0
2224
And param version = '2.0.2'
0
2225
And param request = 'GetRecordById'
0
2226
And param id = '108fec55-e467-4d04-ab35-fd0d7060e3e2'
1
2227
And param elementsetname = 'full'
0
2228
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2229
When method get
1790
2230
Then status 200
0
2231
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '108fec55-e467-4d04-ab35-fd0d7060e3e2'
1
2232
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2233
* def title = get response //citation/CI_Citation/title/CharacterString
0
2234
* def email = get response //electronicMailAddress/CharacterString
0
2235
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2236
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
4
2237
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2238
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2239
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2240
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2241
* print organisationpath
0
06:39:44.848 [print]
2242
* print operateson
0
06:39:44.849 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e1#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e2#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e3#MD_DataIdentification" ]
2243
* eval db.writeln('"108fec55-e467-4d04-ab35-fd0d7060e3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
2244
* eval db.writeln('"108fec55-e467-4d04-ab35-fd0d7060e3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.69:18]d293204f-6581-4b0a-811b-1dcce97adedd
ms: 1863
>>
Background:
2245
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
2246
* def mystorage = Java.type('storage.DataStorage')
3
2247
* def db = new mystorage
1
2248
* def db = db.setfeature(karate.info.featureFileName)
1
2249
* def separator = java.lang.System.getProperty("file.separator")
1
2250
* def outputpath = db.outputpath()
1
2251
* eval db.ensureDirectory(outputpath)
1
2252
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2253
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2254
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2255
Given path 'geonetwork/srv/dut/inspire'
1
2256
And param service = 'CSW'
0
2257
And param version = '2.0.2'
0
2258
And param request = 'GetRecordById'
0
2259
And param id = 'd293204f-6581-4b0a-811b-1dcce97adedd'
1
2260
And param elementsetname = 'full'
0
2261
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2262
When method get
1847
2263
Then status 200
0
2264
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd293204f-6581-4b0a-811b-1dcce97adedd'
1
2265
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2266
* def title = get response //citation/CI_Citation/title/CharacterString
0
2267
* def email = get response //electronicMailAddress/CharacterString
0
2268
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
2269
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2270
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2271
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2272
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2273
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2274
* print organisationpath
0
06:39:44.956 [print] Beheer PDOK
2275
* print operateson
0
06:39:44.956 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=e536d943-ecff-4d7a-9500-cc31a263a6af#MD_DataIdentification
2276
* eval db.writeln('"d293204f-6581-4b0a-811b-1dcce97adedd","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
2277
* eval db.writeln('"d293204f-6581-4b0a-811b-1dcce97adedd","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
8
Scenario Outline: [1.70:18]2d1860f2-f8ba-457e-bd64-93cdabd69aee
ms: 1955
>>
Background:
2278
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
2279
* def mystorage = Java.type('storage.DataStorage')
3
2280
* def db = new mystorage
1
2281
* def db = db.setfeature(karate.info.featureFileName)
1
2282
* def separator = java.lang.System.getProperty("file.separator")
1
2283
* def outputpath = db.outputpath()
1
2284
* eval db.ensureDirectory(outputpath)
1
2285
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2286
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2287
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2288
Given path 'geonetwork/srv/dut/inspire'
1
2289
And param service = 'CSW'
0
2290
And param version = '2.0.2'
0
2291
And param request = 'GetRecordById'
0
2292
And param id = '2d1860f2-f8ba-457e-bd64-93cdabd69aee'
1
2293
And param elementsetname = 'full'
0
2294
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2295
When method get
1945
2296
Then status 200
0
2297
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2d1860f2-f8ba-457e-bd64-93cdabd69aee'
2
2298
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2299
* def title = get response //citation/CI_Citation/title/CharacterString
0
2300
* def email = get response //electronicMailAddress/CharacterString
0
2301
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2302
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2303
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2304
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2305
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2306
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2307
* print organisationpath
0
06:39:45.104 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
2308
* print operateson
0
06:39:45.104 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4cda487b-c467-490c-a843-6563fec016be#MD_DataIdentification
2309
* eval db.writeln('"2d1860f2-f8ba-457e-bd64-93cdabd69aee","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
2310
* eval db.writeln('"2d1860f2-f8ba-457e-bd64-93cdabd69aee","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.71:18]feabca04-e3fd-4802-96f2-583d328e30ad
ms: 2143
>>
Background:
2311
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
2312
* def mystorage = Java.type('storage.DataStorage')
3
2313
* def db = new mystorage
1
2314
* def db = db.setfeature(karate.info.featureFileName)
1
2315
* def separator = java.lang.System.getProperty("file.separator")
1
2316
* def outputpath = db.outputpath()
1
2317
* eval db.ensureDirectory(outputpath)
1
2318
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2319
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2320
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2321
Given path 'geonetwork/srv/dut/inspire'
1
2322
And param service = 'CSW'
0
2323
And param version = '2.0.2'
0
2324
And param request = 'GetRecordById'
0
2325
And param id = 'feabca04-e3fd-4802-96f2-583d328e30ad'
1
2326
And param elementsetname = 'full'
0
2327
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2328
When method get
2132
2329
Then status 200
0
2330
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'feabca04-e3fd-4802-96f2-583d328e30ad'
1
2331
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2332
* def title = get response //citation/CI_Citation/title/CharacterString
0
2333
* def email = get response //electronicMailAddress/CharacterString
0
2334
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2335
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2336
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2337
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2338
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2339
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2340
* print organisationpath
0
06:39:45.313 [print] Beheer PDOK
2341
* print operateson
0
06:39:45.313 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=ffefc3dc-dc8f-4589-ae22-a60bebcdf5cb#MD_DataIdentification
2342
* eval db.writeln('"feabca04-e3fd-4802-96f2-583d328e30ad","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
2343
* eval db.writeln('"feabca04-e3fd-4802-96f2-583d328e30ad","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.72:18]82fa284e-8218-40e4-a593-c2f8a832c3d5
ms: 2274
>>
Background:
2344
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
2345
* def mystorage = Java.type('storage.DataStorage')
3
2346
* def db = new mystorage
1
2347
* def db = db.setfeature(karate.info.featureFileName)
1
2348
* def separator = java.lang.System.getProperty("file.separator")
1
2349
* def outputpath = db.outputpath()
1
2350
* eval db.ensureDirectory(outputpath)
1
2351
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2352
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2353
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2354
Given path 'geonetwork/srv/dut/inspire'
1
2355
And param service = 'CSW'
0
2356
And param version = '2.0.2'
0
2357
And param request = 'GetRecordById'
0
2358
And param id = '82fa284e-8218-40e4-a593-c2f8a832c3d5'
1
2359
And param elementsetname = 'full'
0
2360
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2361
When method get
2263
2362
Then status 200
0
2363
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '82fa284e-8218-40e4-a593-c2f8a832c3d5'
1
2364
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2365
* def title = get response //citation/CI_Citation/title/CharacterString
0
2366
* def email = get response //electronicMailAddress/CharacterString
0
2367
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2368
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2369
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2370
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2371
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2372
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2373
* print organisationpath
0
06:39:45.479 [print]
2374
* print operateson
0
06:39:45.479 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=b61a773c-ecad-4e60-93e9-0a4caac0b52f&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
2375
* eval db.writeln('"82fa284e-8218-40e4-a593-c2f8a832c3d5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
2376
* eval db.writeln('"82fa284e-8218-40e4-a593-c2f8a832c3d5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.73:18]4041f923-6b77-4816-bf46-437e85416c31
ms: 1908
>>
Background:
2377
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
2378
* def mystorage = Java.type('storage.DataStorage')
3
2379
* def db = new mystorage
1
2380
* def db = db.setfeature(karate.info.featureFileName)
1
2381
* def separator = java.lang.System.getProperty("file.separator")
1
2382
* def outputpath = db.outputpath()
1
2383
* eval db.ensureDirectory(outputpath)
1
2384
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2385
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2386
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2387
Given path 'geonetwork/srv/dut/inspire'
1
2388
And param service = 'CSW'
0
2389
And param version = '2.0.2'
0
2390
And param request = 'GetRecordById'
0
2391
And param id = '4041f923-6b77-4816-bf46-437e85416c31'
1
2392
And param elementsetname = 'full'
0
2393
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2394
When method get
1897
2395
Then status 200
0
2396
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4041f923-6b77-4816-bf46-437e85416c31'
1
2397
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2398
* def title = get response //citation/CI_Citation/title/CharacterString
0
2399
* def email = get response //electronicMailAddress/CharacterString
0
2400
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2401
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2402
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2403
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2404
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2405
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2406
* print organisationpath
0
06:39:45.238 [print] Beheer PDOK
2407
* print operateson
0
06:39:45.238 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=krm-a905-9d8e-4758-83fa-28b057f185e4#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=krm-a905-9d8e-4758-83fa-28b057f185e3#MD_DataIdentification" ]
2408
* eval db.writeln('"4041f923-6b77-4816-bf46-437e85416c31","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
2409
* eval db.writeln('"4041f923-6b77-4816-bf46-437e85416c31","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.74:18]76854ff3-a853-4405-b9fd-acef66460376
ms: 2274
>>
Background:
2410
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
2411
* def mystorage = Java.type('storage.DataStorage')
3
2412
* def db = new mystorage
1
2413
* def db = db.setfeature(karate.info.featureFileName)
1
2414
* def separator = java.lang.System.getProperty("file.separator")
1
2415
* def outputpath = db.outputpath()
1
2416
* eval db.ensureDirectory(outputpath)
1
2417
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2418
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2419
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2420
Given path 'geonetwork/srv/dut/inspire'
1
2421
And param service = 'CSW'
0
2422
And param version = '2.0.2'
0
2423
And param request = 'GetRecordById'
0
2424
And param id = '76854ff3-a853-4405-b9fd-acef66460376'
1
2425
And param elementsetname = 'full'
0
2426
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2427
When method get
2178
2428
Then status 200
0
2429
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '76854ff3-a853-4405-b9fd-acef66460376'
8
2430
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
9
2431
* def title = get response //citation/CI_Citation/title/CharacterString
21
2432
* def email = get response //electronicMailAddress/CharacterString
10
2433
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
9
2434
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
6
2435
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
6
2436
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
6
2437
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
6
2438
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
8
2439
* print organisationpath
0
06:39:45.731 [print] Beheer PDOK
2440
* print operateson
0
06:39:45.731 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=cbeaebc3-815a-48af-a978-0e16892865fc#MD_DataIdentification
2441
* eval db.writeln('"76854ff3-a853-4405-b9fd-acef66460376","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
2442
* eval db.writeln('"76854ff3-a853-4405-b9fd-acef66460376","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.75:18]127125c8-20c2-451a-a1c8-f9aad8ae5c5e
ms: 2105
>>
Background:
2443
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
2444
* def mystorage = Java.type('storage.DataStorage')
3
2445
* def db = new mystorage
1
2446
* def db = db.setfeature(karate.info.featureFileName)
1
2447
* def separator = java.lang.System.getProperty("file.separator")
1
2448
* def outputpath = db.outputpath()
1
2449
* eval db.ensureDirectory(outputpath)
1
2450
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2451
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2452
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2453
Given path 'geonetwork/srv/dut/inspire'
1
2454
And param service = 'CSW'
0
2455
And param version = '2.0.2'
0
2456
And param request = 'GetRecordById'
0
2457
And param id = '127125c8-20c2-451a-a1c8-f9aad8ae5c5e'
1
2458
And param elementsetname = 'full'
0
2459
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2460
When method get
2005
2461
Then status 200
0
2462
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '127125c8-20c2-451a-a1c8-f9aad8ae5c5e'
66
2463
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2464
* def title = get response //citation/CI_Citation/title/CharacterString
1
2465
* def email = get response //electronicMailAddress/CharacterString
1
2466
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
12
2467
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
2
2468
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
11
2469
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2470
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2471
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
2472
* print organisationpath
0
06:39:45.605 [print] Beheer PDOK
2473
* print operateson
0
06:39:45.605 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=6cde2ce7-3ecd-4785-b7b8-d62c3381efe9#MD_DataIdentification
2474
* eval db.writeln('"127125c8-20c2-451a-a1c8-f9aad8ae5c5e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
2475
* eval db.writeln('"127125c8-20c2-451a-a1c8-f9aad8ae5c5e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.76:18]54d2021b-e778-4834-a3c6-75c89d36b942
ms: 1987
>>
Background:
2476
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
2477
* def mystorage = Java.type('storage.DataStorage')
3
2478
* def db = new mystorage
1
2479
* def db = db.setfeature(karate.info.featureFileName)
1
2480
* def separator = java.lang.System.getProperty("file.separator")
1
2481
* def outputpath = db.outputpath()
1
2482
* eval db.ensureDirectory(outputpath)
1
2483
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2484
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2485
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2486
Given path 'geonetwork/srv/dut/inspire'
1
2487
And param service = 'CSW'
0
2488
And param version = '2.0.2'
0
2489
And param request = 'GetRecordById'
0
2490
And param id = '54d2021b-e778-4834-a3c6-75c89d36b942'
1
2491
And param elementsetname = 'full'
0
2492
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2493
When method get
1950
2494
Then status 200
0
2495
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '54d2021b-e778-4834-a3c6-75c89d36b942'
1
2496
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2497
* def title = get response //citation/CI_Citation/title/CharacterString
0
2498
* def email = get response //electronicMailAddress/CharacterString
0
2499
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
2500
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2501
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
9
2502
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
8
2503
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2504
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2505
* print organisationpath
0
06:39:45.601 [print] Beheer PDOK
2506
* print operateson
0
06:39:45.601 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2ae3e9b7-aa79-41d4-a35b-c9a0fee69e5c#MD_DataIdentification
2507
* eval db.writeln('"54d2021b-e778-4834-a3c6-75c89d36b942","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
13
2508
* eval db.writeln('"54d2021b-e778-4834-a3c6-75c89d36b942","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.77:18]d4e573b0-bd3b-4d7b-a97d-e65841e6e0b4
ms: 1937
>>
Background:
2509
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
2510
* def mystorage = Java.type('storage.DataStorage')
3
2511
* def db = new mystorage
1
2512
* def db = db.setfeature(karate.info.featureFileName)
1
2513
* def separator = java.lang.System.getProperty("file.separator")
1
2514
* def outputpath = db.outputpath()
1
2515
* eval db.ensureDirectory(outputpath)
1
2516
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2517
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2518
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2519
Given path 'geonetwork/srv/dut/inspire'
1
2520
And param service = 'CSW'
0
2521
And param version = '2.0.2'
0
2522
And param request = 'GetRecordById'
0
2523
And param id = 'd4e573b0-bd3b-4d7b-a97d-e65841e6e0b4'
1
2524
And param elementsetname = 'full'
0
2525
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2526
When method get
1828
2527
Then status 200
0
2528
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd4e573b0-bd3b-4d7b-a97d-e65841e6e0b4'
2
2529
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2530
* def title = get response //citation/CI_Citation/title/CharacterString
1
2531
* def email = get response //electronicMailAddress/CharacterString
1
2532
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2533
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2534
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2535
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2536
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2537
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
2538
* print organisationpath
0
06:39:45.492 [print] Beheer PDOK
2539
* print operateson
92
06:39:45.584 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=krw-782cab20-8328-45f1-a9b2-c27d07c14066#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=622a632a-c57b-44a2-83a4-e51223d5f15g#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=2e31680f-68b5-4ff3-94a4-9c24109ffd5e#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=krw-f7bb2351-9788-42ea-a58b-a5ee1842304e#MD_DataIdentification" ]
2540
* eval db.writeln('"d4e573b0-bd3b-4d7b-a97d-e65841e6e0b4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
2541
* eval db.writeln('"d4e573b0-bd3b-4d7b-a97d-e65841e6e0b4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
6
Scenario Outline: [1.78:18]fa3ecd49-4571-4eb3-84f3-2865f42934b2
ms: 1866
>>
Background:
2542
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
2543
* def mystorage = Java.type('storage.DataStorage')
3
2544
* def db = new mystorage
1
2545
* def db = db.setfeature(karate.info.featureFileName)
1
2546
* def separator = java.lang.System.getProperty("file.separator")
1
2547
* def outputpath = db.outputpath()
1
2548
* eval db.ensureDirectory(outputpath)
1
2549
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2550
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2551
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2552
Given path 'geonetwork/srv/dut/inspire'
1
2553
And param service = 'CSW'
0
2554
And param version = '2.0.2'
0
2555
And param request = 'GetRecordById'
0
2556
And param id = 'fa3ecd49-4571-4eb3-84f3-2865f42934b2'
1
2557
And param elementsetname = 'full'
0
2558
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2559
When method get
1851
2560
Then status 200
0
2561
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'fa3ecd49-4571-4eb3-84f3-2865f42934b2'
1
2562
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2563
* def title = get response //citation/CI_Citation/title/CharacterString
1
2564
* def email = get response //electronicMailAddress/CharacterString
0
2565
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2566
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
2567
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2568
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2569
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2570
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2571
* print organisationpath
0
06:39:45.668 [print] TNO Geologische Dienst Nederland
2572
* print operateson
0
06:39:45.669 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=b61a773c-ecad-4e60-93e9-0a4caac0b52f&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
2573
* eval db.writeln('"fa3ecd49-4571-4eb3-84f3-2865f42934b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
2574
* eval db.writeln('"fa3ecd49-4571-4eb3-84f3-2865f42934b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
6
Scenario Outline: [1.79:18]32655f4b-551b-42c8-b071-95738d0f5daa
ms: 1709
>>
Background:
2575
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
2576
* def mystorage = Java.type('storage.DataStorage')
3
2577
* def db = new mystorage
1
2578
* def db = db.setfeature(karate.info.featureFileName)
1
2579
* def separator = java.lang.System.getProperty("file.separator")
1
2580
* def outputpath = db.outputpath()
1
2581
* eval db.ensureDirectory(outputpath)
1
2582
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2583
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2584
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2585
Given path 'geonetwork/srv/dut/inspire'
1
2586
And param service = 'CSW'
0
2587
And param version = '2.0.2'
0
2588
And param request = 'GetRecordById'
0
2589
And param id = '32655f4b-551b-42c8-b071-95738d0f5daa'
1
2590
And param elementsetname = 'full'
0
2591
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2592
When method get
1610
2593
Then status 200
0
2594
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '32655f4b-551b-42c8-b071-95738d0f5daa'
1
2595
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2596
* def title = get response //citation/CI_Citation/title/CharacterString
0
2597
* def email = get response //electronicMailAddress/CharacterString
0
2598
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
76
2599
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
2600
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
2601
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2602
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2603
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
4
2604
* print organisationpath
3
06:39:45.584 [print] Beheer PDOK
2605
* print operateson
0
06:39:45.584 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=eu-cb527d-f6db-4835-b0cd-deb245241254
2606
* eval db.writeln('"32655f4b-551b-42c8-b071-95738d0f5daa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
5
2607
* eval db.writeln('"32655f4b-551b-42c8-b071-95738d0f5daa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
5
Scenario Outline: [1.80:18]49a53bc1-dd76-417f-b9af-066901ddfec0
ms: 2013
>>
Background:
2608
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
2609
* def mystorage = Java.type('storage.DataStorage')
3
2610
* def db = new mystorage
1
2611
* def db = db.setfeature(karate.info.featureFileName)
1
2612
* def separator = java.lang.System.getProperty("file.separator")
1
2613
* def outputpath = db.outputpath()
1
2614
* eval db.ensureDirectory(outputpath)
1
2615
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2616
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2617
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2618
Given path 'geonetwork/srv/dut/inspire'
1
2619
And param service = 'CSW'
0
2620
And param version = '2.0.2'
0
2621
And param request = 'GetRecordById'
0
2622
And param id = '49a53bc1-dd76-417f-b9af-066901ddfec0'
1
2623
And param elementsetname = 'full'
0
2624
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2625
When method get
2002
2626
Then status 200
0
2627
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '49a53bc1-dd76-417f-b9af-066901ddfec0'
2
2628
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2629
* def title = get response //citation/CI_Citation/title/CharacterString
0
2630
* def email = get response //electronicMailAddress/CharacterString
0
2631
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
2632
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2633
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2634
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2635
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2636
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2637
* print organisationpath
0
06:39:45.951 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
2638
* print operateson
0
06:39:45.951 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=be6551de-a709-4c6d-a5e2-f63f0cf038ba&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
2639
* eval db.writeln('"49a53bc1-dd76-417f-b9af-066901ddfec0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
2640
* eval db.writeln('"49a53bc1-dd76-417f-b9af-066901ddfec0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.81:18]95e2c712-1b91-4f24-9453-c56b95227717
ms: 1973
>>
Background:
2641
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
2642
* def mystorage = Java.type('storage.DataStorage')
3
2643
* def db = new mystorage
1
2644
* def db = db.setfeature(karate.info.featureFileName)
1
2645
* def separator = java.lang.System.getProperty("file.separator")
1
2646
* def outputpath = db.outputpath()
1
2647
* eval db.ensureDirectory(outputpath)
1
2648
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2649
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2650
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2651
Given path 'geonetwork/srv/dut/inspire'
1
2652
And param service = 'CSW'
0
2653
And param version = '2.0.2'
0
2654
And param request = 'GetRecordById'
0
2655
And param id = '95e2c712-1b91-4f24-9453-c56b95227717'
1
2656
And param elementsetname = 'full'
0
2657
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2658
When method get
1958
2659
Then status 200
0
2660
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '95e2c712-1b91-4f24-9453-c56b95227717'
1
2661
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2662
* def title = get response //citation/CI_Citation/title/CharacterString
0
2663
* def email = get response //electronicMailAddress/CharacterString
0
2664
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
3
2665
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2666
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2667
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2668
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2669
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2670
* print organisationpath
0
06:39:45.964 [print]
2671
* print operateson
0
06:39:45.964 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f2f86edf-ac3a-48e8-9292-0544da2d7645#MD_DataIdentification
2672
* eval db.writeln('"95e2c712-1b91-4f24-9453-c56b95227717","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
2673
* eval db.writeln('"95e2c712-1b91-4f24-9453-c56b95227717","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.82:18]ce4ac3b9-8291-498d-95de-79fe7b6f5259
ms: 1900
>>
Background:
2674
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
2675
* def mystorage = Java.type('storage.DataStorage')
3
2676
* def db = new mystorage
1
2677
* def db = db.setfeature(karate.info.featureFileName)
1
2678
* def separator = java.lang.System.getProperty("file.separator")
1
2679
* def outputpath = db.outputpath()
1
2680
* eval db.ensureDirectory(outputpath)
1
2681
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2682
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2683
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2684
Given path 'geonetwork/srv/dut/inspire'
1
2685
And param service = 'CSW'
0
2686
And param version = '2.0.2'
0
2687
And param request = 'GetRecordById'
0
2688
And param id = 'ce4ac3b9-8291-498d-95de-79fe7b6f5259'
1
2689
And param elementsetname = 'full'
0
2690
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2691
When method get
1890
2692
Then status 200
0
2693
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ce4ac3b9-8291-498d-95de-79fe7b6f5259'
1
2694
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2695
* def title = get response //citation/CI_Citation/title/CharacterString
1
2696
* def email = get response //electronicMailAddress/CharacterString
1
2697
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2698
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2699
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2700
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2701
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2702
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
2703
* print organisationpath
0
06:39:46.017 [print] Beheer PDOK
2704
* print operateson
0
06:39:46.017 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=8f45b8ef-0ce8-463a-9059-5efdcecb785c#MD_DataIdentification
2705
* eval db.writeln('"ce4ac3b9-8291-498d-95de-79fe7b6f5259","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
2706
* eval db.writeln('"ce4ac3b9-8291-498d-95de-79fe7b6f5259","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.83:18]ea4cb6a2-f637-413a-91cc-d58473c2f138
ms: 1994
>>
Background:
2707
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
2708
* def mystorage = Java.type('storage.DataStorage')
3
2709
* def db = new mystorage
1
2710
* def db = db.setfeature(karate.info.featureFileName)
1
2711
* def separator = java.lang.System.getProperty("file.separator")
1
2712
* def outputpath = db.outputpath()
1
2713
* eval db.ensureDirectory(outputpath)
1
2714
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2715
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2716
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2717
Given path 'geonetwork/srv/dut/inspire'
1
2718
And param service = 'CSW'
0
2719
And param version = '2.0.2'
0
2720
And param request = 'GetRecordById'
0
2721
And param id = 'ea4cb6a2-f637-413a-91cc-d58473c2f138'
1
2722
And param elementsetname = 'full'
0
2723
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2724
When method get
1983
2725
Then status 200
0
2726
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ea4cb6a2-f637-413a-91cc-d58473c2f138'
1
2727
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2728
* def title = get response //citation/CI_Citation/title/CharacterString
0
2729
* def email = get response //electronicMailAddress/CharacterString
0
2730
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2731
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2732
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2733
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2734
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2735
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2736
* print organisationpath
0
06:39:46.253 [print] Interprovinciaal Overleg
2737
* print operateson
0
06:39:46.253 [print] [ "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=c829abeb-bfac-4224-8332-e7a9a89e692e&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=fe45c540-e37d-11e4-b571-0800200c9a66&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification" ]
2738
* eval db.writeln('"ea4cb6a2-f637-413a-91cc-d58473c2f138","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
2739
* eval db.writeln('"ea4cb6a2-f637-413a-91cc-d58473c2f138","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.84:18]b7880739-a701-4cc0-bb32-2bba61fa8924
ms: 1837
>>
Background:
2740
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
2741
* def mystorage = Java.type('storage.DataStorage')
3
2742
* def db = new mystorage
1
2743
* def db = db.setfeature(karate.info.featureFileName)
1
2744
* def separator = java.lang.System.getProperty("file.separator")
1
2745
* def outputpath = db.outputpath()
1
2746
* eval db.ensureDirectory(outputpath)
1
2747
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2748
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2749
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2750
Given path 'geonetwork/srv/dut/inspire'
0
2751
And param service = 'CSW'
0
2752
And param version = '2.0.2'
0
2753
And param request = 'GetRecordById'
0
2754
And param id = 'b7880739-a701-4cc0-bb32-2bba61fa8924'
1
2755
And param elementsetname = 'full'
0
2756
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2757
When method get
1824
2758
Then status 200
0
2759
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b7880739-a701-4cc0-bb32-2bba61fa8924'
2
2760
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2761
* def title = get response //citation/CI_Citation/title/CharacterString
1
2762
* def email = get response //electronicMailAddress/CharacterString
1
2763
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2764
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2765
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2766
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2767
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
2768
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
2769
* print organisationpath
0
06:39:46.108 [print] TNO Geologische Dienst Nederland
2770
* print operateson
0
06:39:46.108 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=11a292bd-9022-4a9f-b1bf-02f5c89ad74a&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
2771
* eval db.writeln('"b7880739-a701-4cc0-bb32-2bba61fa8924","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
2772
* eval db.writeln('"b7880739-a701-4cc0-bb32-2bba61fa8924","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.85:18]ce963e61-779f-470f-a99d-48d9796e5ba3
ms: 1963
>>
Background:
2773
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
2774
* def mystorage = Java.type('storage.DataStorage')
3
2775
* def db = new mystorage
1
2776
* def db = db.setfeature(karate.info.featureFileName)
1
2777
* def separator = java.lang.System.getProperty("file.separator")
1
2778
* def outputpath = db.outputpath()
1
2779
* eval db.ensureDirectory(outputpath)
1
2780
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2781
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2782
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2783
Given path 'geonetwork/srv/dut/inspire'
1
2784
And param service = 'CSW'
0
2785
And param version = '2.0.2'
0
2786
And param request = 'GetRecordById'
0
2787
And param id = 'ce963e61-779f-470f-a99d-48d9796e5ba3'
1
2788
And param elementsetname = 'full'
0
2789
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2790
When method get
1942
2791
Then status 200
0
2792
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ce963e61-779f-470f-a99d-48d9796e5ba3'
1
2793
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
5
2794
* def title = get response //citation/CI_Citation/title/CharacterString
1
2795
* def email = get response //electronicMailAddress/CharacterString
0
2796
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2797
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2798
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2799
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
2800
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2801
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2802
* print organisationpath
0
06:39:46.256 [print] Beheer PDOK
2803
* print operateson
0
06:39:46.256 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=1a40eb6f-4f33-4e15-a0b1-2d350ad2636e#MD_DataIdentification
2804
* eval db.writeln('"ce963e61-779f-470f-a99d-48d9796e5ba3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
5
2805
* eval db.writeln('"ce963e61-779f-470f-a99d-48d9796e5ba3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.86:18]09588464-071b-47be-8cbe-d15f2e1f9634
ms: 1912
>>
Background:
2806
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
2807
* def mystorage = Java.type('storage.DataStorage')
3
2808
* def db = new mystorage
1
2809
* def db = db.setfeature(karate.info.featureFileName)
1
2810
* def separator = java.lang.System.getProperty("file.separator")
1
2811
* def outputpath = db.outputpath()
1
2812
* eval db.ensureDirectory(outputpath)
1
2813
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2814
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2815
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2816
Given path 'geonetwork/srv/dut/inspire'
1
2817
And param service = 'CSW'
0
2818
And param version = '2.0.2'
0
2819
And param request = 'GetRecordById'
0
2820
And param id = '09588464-071b-47be-8cbe-d15f2e1f9634'
1
2821
And param elementsetname = 'full'
0
2822
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2823
When method get
1902
2824
Then status 200
0
2825
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '09588464-071b-47be-8cbe-d15f2e1f9634'
1
2826
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2827
* def title = get response //citation/CI_Citation/title/CharacterString
0
2828
* def email = get response //electronicMailAddress/CharacterString
0
2829
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
2830
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2831
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2832
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2833
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2834
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2835
* print organisationpath
0
06:39:46.328 [print] Beheer PDOK
2836
* print operateson
0
06:39:46.328 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=6c06740d-058f-4a12-bb3f-bf68efd03d09#MD_DataIdentification
2837
* eval db.writeln('"09588464-071b-47be-8cbe-d15f2e1f9634","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
2838
* eval db.writeln('"09588464-071b-47be-8cbe-d15f2e1f9634","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.87:18]62dc32f1-853c-416a-876b-6e083554f1b6
ms: 1979
>>
Background:
2839
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
2840
* def mystorage = Java.type('storage.DataStorage')
3
2841
* def db = new mystorage
1
2842
* def db = db.setfeature(karate.info.featureFileName)
1
2843
* def separator = java.lang.System.getProperty("file.separator")
1
2844
* def outputpath = db.outputpath()
1
2845
* eval db.ensureDirectory(outputpath)
1
2846
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2847
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2848
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2849
Given path 'geonetwork/srv/dut/inspire'
0
2850
And param service = 'CSW'
0
2851
And param version = '2.0.2'
0
2852
And param request = 'GetRecordById'
0
2853
And param id = '62dc32f1-853c-416a-876b-6e083554f1b6'
1
2854
And param elementsetname = 'full'
0
2855
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2856
When method get
1968
2857
Then status 200
0
2858
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '62dc32f1-853c-416a-876b-6e083554f1b6'
1
2859
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2860
* def title = get response //citation/CI_Citation/title/CharacterString
0
2861
* def email = get response //electronicMailAddress/CharacterString
0
2862
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2863
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2864
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2865
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2866
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2867
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2868
* print organisationpath
0
06:39:46.408 [print] Beheer PDOK
2869
* print operateson
0
06:39:46.408 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c3c004ad-5387-4b00-a225-9afbcaa5d31b#MD_DataIdentification
2870
* eval db.writeln('"62dc32f1-853c-416a-876b-6e083554f1b6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
2871
* eval db.writeln('"62dc32f1-853c-416a-876b-6e083554f1b6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.88:18]3ac5737f-55ed-455d-8350-44af11b67fc3
ms: 1964
>>
Background:
2872
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
2873
* def mystorage = Java.type('storage.DataStorage')
3
2874
* def db = new mystorage
1
2875
* def db = db.setfeature(karate.info.featureFileName)
1
2876
* def separator = java.lang.System.getProperty("file.separator")
1
2877
* def outputpath = db.outputpath()
1
2878
* eval db.ensureDirectory(outputpath)
1
2879
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2880
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2881
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2882
Given path 'geonetwork/srv/dut/inspire'
1
2883
And param service = 'CSW'
0
2884
And param version = '2.0.2'
0
2885
And param request = 'GetRecordById'
0
2886
And param id = '3ac5737f-55ed-455d-8350-44af11b67fc3'
1
2887
And param elementsetname = 'full'
0
2888
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2889
When method get
1941
2890
Then status 200
0
2891
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3ac5737f-55ed-455d-8350-44af11b67fc3'
1
2892
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2893
* def title = get response //citation/CI_Citation/title/CharacterString
1
2894
* def email = get response //electronicMailAddress/CharacterString
0
2895
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2896
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2897
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2898
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2899
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2900
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
2901
* print organisationpath
0
06:39:46.462 [print] Beheer PDOK
2902
* print operateson
0
06:39:46.462 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5c37d29a-006d-4136-8989-adfc35a1d4a7#MD_DataIdentification
2903
* eval db.writeln('"3ac5737f-55ed-455d-8350-44af11b67fc3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
14
2904
* eval db.writeln('"3ac5737f-55ed-455d-8350-44af11b67fc3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.89:18]923a666c-ee4f-496c-8c85-94d5f81e1f30
ms: 1722
>>
Background:
2905
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
2906
* def mystorage = Java.type('storage.DataStorage')
3
2907
* def db = new mystorage
1
2908
* def db = db.setfeature(karate.info.featureFileName)
1
2909
* def separator = java.lang.System.getProperty("file.separator")
1
2910
* def outputpath = db.outputpath()
1
2911
* eval db.ensureDirectory(outputpath)
1
2912
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2913
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2914
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2915
Given path 'geonetwork/srv/dut/inspire'
1
2916
And param service = 'CSW'
0
2917
And param version = '2.0.2'
0
2918
And param request = 'GetRecordById'
0
2919
And param id = '923a666c-ee4f-496c-8c85-94d5f81e1f30'
1
2920
And param elementsetname = 'full'
0
2921
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2922
When method get
1709
2923
Then status 200
0
2924
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '923a666c-ee4f-496c-8c85-94d5f81e1f30'
3
2925
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2926
* def title = get response //citation/CI_Citation/title/CharacterString
0
2927
* def email = get response //electronicMailAddress/CharacterString
0
2928
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
2929
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
2930
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
2931
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2932
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2933
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2934
* print organisationpath
0
06:39:46.471 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
2935
* print operateson
0
06:39:46.471 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4617f0e0-6af4-4ac0-9044-31df9d03071c#MD_DataIdentification
2936
* eval db.writeln('"923a666c-ee4f-496c-8c85-94d5f81e1f30","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
2937
* eval db.writeln('"923a666c-ee4f-496c-8c85-94d5f81e1f30","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.90:18]a88b4ed1-49c1-4f91-991e-dc1cc7c575f7
ms: 1767
>>
Background:
2938
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
2939
* def mystorage = Java.type('storage.DataStorage')
3
2940
* def db = new mystorage
1
2941
* def db = db.setfeature(karate.info.featureFileName)
1
2942
* def separator = java.lang.System.getProperty("file.separator")
1
2943
* def outputpath = db.outputpath()
1
2944
* eval db.ensureDirectory(outputpath)
1
2945
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2946
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2947
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2948
Given path 'geonetwork/srv/dut/inspire'
1
2949
And param service = 'CSW'
0
2950
And param version = '2.0.2'
0
2951
And param request = 'GetRecordById'
0
2952
And param id = 'a88b4ed1-49c1-4f91-991e-dc1cc7c575f7'
1
2953
And param elementsetname = 'full'
0
2954
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2955
When method get
1756
2956
Then status 200
0
2957
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a88b4ed1-49c1-4f91-991e-dc1cc7c575f7'
1
2958
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2959
* def title = get response //citation/CI_Citation/title/CharacterString
0
2960
* def email = get response //electronicMailAddress/CharacterString
1
2961
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2962
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2963
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2964
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2965
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2966
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2967
* print organisationpath
0
06:39:46.577 [print] Interprovinciaal Overleg
2968
* print operateson
0
06:39:46.578 [print] [ "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=8e986f37-74d7-4b6c-8026-87c960456423&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=afc450bd-65b3-4e59-b0fb-619869bf6ada&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification" ]
2969
* eval db.writeln('"a88b4ed1-49c1-4f91-991e-dc1cc7c575f7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
2970
* eval db.writeln('"a88b4ed1-49c1-4f91-991e-dc1cc7c575f7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.91:18]65f9628b-0a58-4348-8fff-c2d02788acdb
ms: 1887
>>
Background:
2971
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
2972
* def mystorage = Java.type('storage.DataStorage')
3
2973
* def db = new mystorage
1
2974
* def db = db.setfeature(karate.info.featureFileName)
1
2975
* def separator = java.lang.System.getProperty("file.separator")
1
2976
* def outputpath = db.outputpath()
1
2977
* eval db.ensureDirectory(outputpath)
1
2978
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2979
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2980
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2981
Given path 'geonetwork/srv/dut/inspire'
1
2982
And param service = 'CSW'
0
2983
And param version = '2.0.2'
0
2984
And param request = 'GetRecordById'
0
2985
And param id = '65f9628b-0a58-4348-8fff-c2d02788acdb'
1
2986
And param elementsetname = 'full'
0
2987
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2988
When method get
1876
2989
Then status 200
0
2990
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '65f9628b-0a58-4348-8fff-c2d02788acdb'
1
2991
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2992
* def title = get response //citation/CI_Citation/title/CharacterString
1
2993
* def email = get response //electronicMailAddress/CharacterString
1
2994
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2995
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2996
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2997
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2998
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2999
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
3000
* print organisationpath
0
06:39:46.737 [print] Beheer PDOK
3001
* print operateson
0
06:39:46.737 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3a7dd0a6-d130-4c4c-b0ba-24365cf036e2#MD_DataIdentification
3002
* eval db.writeln('"65f9628b-0a58-4348-8fff-c2d02788acdb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
3003
* eval db.writeln('"65f9628b-0a58-4348-8fff-c2d02788acdb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.92:18]c56433ca-35f2-4aaf-8bfa-35d8e0e52dda
ms: 2118
>>
Background:
3004
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
3005
* def mystorage = Java.type('storage.DataStorage')
3
3006
* def db = new mystorage
1
3007
* def db = db.setfeature(karate.info.featureFileName)
1
3008
* def separator = java.lang.System.getProperty("file.separator")
1
3009
* def outputpath = db.outputpath()
1
3010
* eval db.ensureDirectory(outputpath)
1
3011
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3012
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3013
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3014
Given path 'geonetwork/srv/dut/inspire'
1
3015
And param service = 'CSW'
0
3016
And param version = '2.0.2'
0
3017
And param request = 'GetRecordById'
0
3018
And param id = 'c56433ca-35f2-4aaf-8bfa-35d8e0e52dda'
1
3019
And param elementsetname = 'full'
0
3020
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3021
When method get
2106
3022
Then status 200
0
3023
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c56433ca-35f2-4aaf-8bfa-35d8e0e52dda'
1
3024
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3025
* def title = get response //citation/CI_Citation/title/CharacterString
1
3026
* def email = get response //electronicMailAddress/CharacterString
0
3027
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3028
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3029
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3030
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3031
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3032
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3033
* print organisationpath
0
06:39:46.985 [print]
3034
* print operateson
0
06:39:46.985 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=08b27bf0-e34a-4b30-9eac-5edadfb6a288#MD_DataIdentification
3035
* eval db.writeln('"c56433ca-35f2-4aaf-8bfa-35d8e0e52dda","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
3036
* eval db.writeln('"c56433ca-35f2-4aaf-8bfa-35d8e0e52dda","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.93:18]67bcc21d-beda-449d-975c-00a4fa80f2b7
ms: 2059
>>
Background:
3037
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
3038
* def mystorage = Java.type('storage.DataStorage')
3
3039
* def db = new mystorage
1
3040
* def db = db.setfeature(karate.info.featureFileName)
1
3041
* def separator = java.lang.System.getProperty("file.separator")
1
3042
* def outputpath = db.outputpath()
1
3043
* eval db.ensureDirectory(outputpath)
1
3044
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3045
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3046
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3047
Given path 'geonetwork/srv/dut/inspire'
1
3048
And param service = 'CSW'
0
3049
And param version = '2.0.2'
8
3050
And param request = 'GetRecordById'
0
3051
And param id = '67bcc21d-beda-449d-975c-00a4fa80f2b7'
1
3052
And param elementsetname = 'full'
0
3053
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3054
When method get
2041
3055
Then status 200
0
3056
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '67bcc21d-beda-449d-975c-00a4fa80f2b7'
1
3057
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3058
* def title = get response //citation/CI_Citation/title/CharacterString
0
3059
* def email = get response //electronicMailAddress/CharacterString
0
3060
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
3061
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3062
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3063
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3064
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3065
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3066
* print organisationpath
0
06:39:47.022 [print]
3067
* print operateson
0
06:39:47.022 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=07575774-57a1-4419-bab4-6c88fdeb02b2#MD_DataIdentification
3068
* eval db.writeln('"67bcc21d-beda-449d-975c-00a4fa80f2b7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
3069
* eval db.writeln('"67bcc21d-beda-449d-975c-00a4fa80f2b7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.94:18]b4ae5b2c-f557-4a30-bbf2-c2681a544f32
ms: 2016
>>
Background:
3070
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
3071
* def mystorage = Java.type('storage.DataStorage')
3
3072
* def db = new mystorage
1
3073
* def db = db.setfeature(karate.info.featureFileName)
1
3074
* def separator = java.lang.System.getProperty("file.separator")
1
3075
* def outputpath = db.outputpath()
1
3076
* eval db.ensureDirectory(outputpath)
1
3077
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3078
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3079
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3080
Given path 'geonetwork/srv/dut/inspire'
1
3081
And param service = 'CSW'
0
3082
And param version = '2.0.2'
0
3083
And param request = 'GetRecordById'
0
3084
And param id = 'b4ae5b2c-f557-4a30-bbf2-c2681a544f32'
0
3085
And param elementsetname = 'full'
0
3086
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3087
When method get
2005
3088
Then status 200
0
3089
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b4ae5b2c-f557-4a30-bbf2-c2681a544f32'
1
3090
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3091
* def title = get response //citation/CI_Citation/title/CharacterString
0
3092
* def email = get response //electronicMailAddress/CharacterString
0
3093
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3094
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3095
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3096
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3097
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3098
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3099
* print organisationpath
0
06:39:47.120 [print] Beheer PDOK
3100
* print operateson
0
06:39:47.121 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=831f7bd7-c2ae-4336-bd2f-47ab20d7cdb7#MD_DataIdentification
3101
* eval db.writeln('"b4ae5b2c-f557-4a30-bbf2-c2681a544f32","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
3102
* eval db.writeln('"b4ae5b2c-f557-4a30-bbf2-c2681a544f32","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.95:18]280cee65-1b66-4973-a569-75122e0b745b
ms: 1951
>>
Background:
3103
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
3104
* def mystorage = Java.type('storage.DataStorage')
3
3105
* def db = new mystorage
1
3106
* def db = db.setfeature(karate.info.featureFileName)
1
3107
* def separator = java.lang.System.getProperty("file.separator")
1
3108
* def outputpath = db.outputpath()
1
3109
* eval db.ensureDirectory(outputpath)
1
3110
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3111
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3112
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3113
Given path 'geonetwork/srv/dut/inspire'
1
3114
And param service = 'CSW'
0
3115
And param version = '2.0.2'
0
3116
And param request = 'GetRecordById'
0
3117
And param id = '280cee65-1b66-4973-a569-75122e0b745b'
1
3118
And param elementsetname = 'full'
0
3119
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3120
When method get
1940
3121
Then status 200
0
3122
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '280cee65-1b66-4973-a569-75122e0b745b'
3
3123
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3124
* def title = get response //citation/CI_Citation/title/CharacterString
0
3125
* def email = get response //electronicMailAddress/CharacterString
0
3126
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
3127
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3128
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3129
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3130
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3131
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3132
* print organisationpath
0
06:39:47.190 [print]
3133
* print operateson
0
06:39:47.190 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e3#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e2#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e1#MD_DataIdentification" ]
3134
* eval db.writeln('"280cee65-1b66-4973-a569-75122e0b745b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
3135
* eval db.writeln('"280cee65-1b66-4973-a569-75122e0b745b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.96:18]5be1b57b-2cac-4119-92eb-700346543d47
ms: 1943
>>
Background:
3136
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
3137
* def mystorage = Java.type('storage.DataStorage')
3
3138
* def db = new mystorage
1
3139
* def db = db.setfeature(karate.info.featureFileName)
1
3140
* def separator = java.lang.System.getProperty("file.separator")
1
3141
* def outputpath = db.outputpath()
1
3142
* eval db.ensureDirectory(outputpath)
1
3143
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3144
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3145
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3146
Given path 'geonetwork/srv/dut/inspire'
1
3147
And param service = 'CSW'
0
3148
And param version = '2.0.2'
0
3149
And param request = 'GetRecordById'
0
3150
And param id = '5be1b57b-2cac-4119-92eb-700346543d47'
0
3151
And param elementsetname = 'full'
0
3152
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3153
When method get
1933
3154
Then status 200
0
3155
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5be1b57b-2cac-4119-92eb-700346543d47'
1
3156
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3157
* def title = get response //citation/CI_Citation/title/CharacterString
1
3158
* def email = get response //electronicMailAddress/CharacterString
0
3159
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
3160
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3161
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3162
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3163
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3164
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3165
* print organisationpath
0
06:39:47.256 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
3166
* print operateson
0
06:39:47.256 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=a5241416-8401-4623-be61-57ef50447a41&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
3167
* eval db.writeln('"5be1b57b-2cac-4119-92eb-700346543d47","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
3168
* eval db.writeln('"5be1b57b-2cac-4119-92eb-700346543d47","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.97:18]972edbaa-f860-4c48-b449-4f238a263472
ms: 1933
>>
Background:
3169
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
3170
* def mystorage = Java.type('storage.DataStorage')
3
3171
* def db = new mystorage
1
3172
* def db = db.setfeature(karate.info.featureFileName)
1
3173
* def separator = java.lang.System.getProperty("file.separator")
1
3174
* def outputpath = db.outputpath()
1
3175
* eval db.ensureDirectory(outputpath)
1
3176
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3177
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3178
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3179
Given path 'geonetwork/srv/dut/inspire'
1
3180
And param service = 'CSW'
0
3181
And param version = '2.0.2'
0
3182
And param request = 'GetRecordById'
0
3183
And param id = '972edbaa-f860-4c48-b449-4f238a263472'
0
3184
And param elementsetname = 'full'
0
3185
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3186
When method get
1923
3187
Then status 200
0
3188
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '972edbaa-f860-4c48-b449-4f238a263472'
1
3189
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3190
* def title = get response //citation/CI_Citation/title/CharacterString
0
3191
* def email = get response //electronicMailAddress/CharacterString
0
3192
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3193
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3194
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3195
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3196
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3197
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3198
* print organisationpath
0
06:39:47.414 [print] Beheer PDOK
3199
* print operateson
0
06:39:47.414 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=d6b85d84-cdb9-4a6e-b799-cf8826e22a94#MD_DataIdentification
3200
* eval db.writeln('"972edbaa-f860-4c48-b449-4f238a263472","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
3201
* eval db.writeln('"972edbaa-f860-4c48-b449-4f238a263472","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.98:18]a1ed8a00-da07-472e-9627-99175d437c94
ms: 2171
>>
Background:
3202
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
3203
* def mystorage = Java.type('storage.DataStorage')
3
3204
* def db = new mystorage
1
3205
* def db = db.setfeature(karate.info.featureFileName)
1
3206
* def separator = java.lang.System.getProperty("file.separator")
1
3207
* def outputpath = db.outputpath()
1
3208
* eval db.ensureDirectory(outputpath)
1
3209
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3210
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3211
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3212
Given path 'geonetwork/srv/dut/inspire'
18
3213
And param service = 'CSW'
0
3214
And param version = '2.0.2'
0
3215
And param request = 'GetRecordById'
0
3216
And param id = 'a1ed8a00-da07-472e-9627-99175d437c94'
1
3217
And param elementsetname = 'full'
0
3218
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3219
When method get
2142
3220
Then status 200
0
3221
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a1ed8a00-da07-472e-9627-99175d437c94'
1
3222
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3223
* def title = get response //citation/CI_Citation/title/CharacterString
0
3224
* def email = get response //electronicMailAddress/CharacterString
0
3225
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3226
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3227
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3228
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
3229
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3230
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3231
* print organisationpath
0
06:39:47.759 [print] Beheer PDOK
3232
* print operateson
0
06:39:47.759 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=83dab947-387b-49df-8ad2-32bb10d46d38#MD_DataIdentification
3233
* eval db.writeln('"a1ed8a00-da07-472e-9627-99175d437c94","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
3234
* eval db.writeln('"a1ed8a00-da07-472e-9627-99175d437c94","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.99:18]97a7d966-7261-49d4-bc08-c4900981f092
ms: 1888
>>
Background:
3235
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
3236
* def mystorage = Java.type('storage.DataStorage')
3
3237
* def db = new mystorage
1
3238
* def db = db.setfeature(karate.info.featureFileName)
1
3239
* def separator = java.lang.System.getProperty("file.separator")
1
3240
* def outputpath = db.outputpath()
1
3241
* eval db.ensureDirectory(outputpath)
1
3242
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3243
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3244
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3245
Given path 'geonetwork/srv/dut/inspire'
0
3246
And param service = 'CSW'
0
3247
And param version = '2.0.2'
0
3248
And param request = 'GetRecordById'
0
3249
And param id = '97a7d966-7261-49d4-bc08-c4900981f092'
1
3250
And param elementsetname = 'full'
0
3251
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3252
When method get
1877
3253
Then status 200
0
3254
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '97a7d966-7261-49d4-bc08-c4900981f092'
1
3255
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3256
* def title = get response //citation/CI_Citation/title/CharacterString
0
3257
* def email = get response //electronicMailAddress/CharacterString
1
3258
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3259
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3260
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3261
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3262
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3263
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
3264
* print organisationpath
0
06:39:47.480 [print] Beheer PDOK
3265
* print operateson
0
06:39:47.481 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=31de946d-85d4-4c93-bb97-e25f4ef1401a#MD_DataIdentification
3266
* eval db.writeln('"97a7d966-7261-49d4-bc08-c4900981f092","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
3267
* eval db.writeln('"97a7d966-7261-49d4-bc08-c4900981f092","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.100:18]ac3a9efe-2154-4a4c-aae3-ea269044945d
ms: 2067
>>
Background:
3268
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
3269
* def mystorage = Java.type('storage.DataStorage')
3
3270
* def db = new mystorage
1
3271
* def db = db.setfeature(karate.info.featureFileName)
1
3272
* def separator = java.lang.System.getProperty("file.separator")
1
3273
* def outputpath = db.outputpath()
1
3274
* eval db.ensureDirectory(outputpath)
1
3275
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3276
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3277
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3278
Given path 'geonetwork/srv/dut/inspire'
0
3279
And param service = 'CSW'
0
3280
And param version = '2.0.2'
0
3281
And param request = 'GetRecordById'
0
3282
And param id = 'ac3a9efe-2154-4a4c-aae3-ea269044945d'
0
3283
And param elementsetname = 'full'
0
3284
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3285
When method get
2057
3286
Then status 200
0
3287
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ac3a9efe-2154-4a4c-aae3-ea269044945d'
1
3288
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3289
* def title = get response //citation/CI_Citation/title/CharacterString
0
3290
* def email = get response //electronicMailAddress/CharacterString
0
3291
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3292
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3293
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3294
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3295
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3296
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3297
* print organisationpath
0
06:39:47.672 [print]
3298
* print operateson
0
06:39:47.672 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=ed960299-a147-4c1a-bc57-41ff83a2264f#MD_DataIdentification
3299
* eval db.writeln('"ac3a9efe-2154-4a4c-aae3-ea269044945d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
3300
* eval db.writeln('"ac3a9efe-2154-4a4c-aae3-ea269044945d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.101:18]27430d0d-e4da-4f94-ba18-7ff01d86c19e
ms: 2159
>>
Background:
3301
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
3302
* def mystorage = Java.type('storage.DataStorage')
3
3303
* def db = new mystorage
1
3304
* def db = db.setfeature(karate.info.featureFileName)
1
3305
* def separator = java.lang.System.getProperty("file.separator")
1
3306
* def outputpath = db.outputpath()
1
3307
* eval db.ensureDirectory(outputpath)
1
3308
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3309
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3310
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3311
Given path 'geonetwork/srv/dut/inspire'
0
3312
And param service = 'CSW'
0
3313
And param version = '2.0.2'
0
3314
And param request = 'GetRecordById'
0
3315
And param id = '27430d0d-e4da-4f94-ba18-7ff01d86c19e'
0
3316
And param elementsetname = 'full'
0
3317
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3318
When method get
2150
3319
Then status 200
0
3320
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '27430d0d-e4da-4f94-ba18-7ff01d86c19e'
1
3321
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3322
* def title = get response //citation/CI_Citation/title/CharacterString
0
3323
* def email = get response //electronicMailAddress/CharacterString
0
3324
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
3325
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3326
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3327
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3328
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
3329
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3330
* print organisationpath
0
06:39:47.772 [print] TNO Geologische Dienst Nederland
3331
* print operateson
0
06:39:47.772 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=b61a773c-ecad-4e60-93e9-0a4caac0b52f&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
3332
* eval db.writeln('"27430d0d-e4da-4f94-ba18-7ff01d86c19e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
3333
* eval db.writeln('"27430d0d-e4da-4f94-ba18-7ff01d86c19e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.102:18]9c5351c8-d8f4-41c2-9642-42a63496a6fe
ms: 2257
>>
Background:
3334
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
3335
* def mystorage = Java.type('storage.DataStorage')
3
3336
* def db = new mystorage
1
3337
* def db = db.setfeature(karate.info.featureFileName)
1
3338
* def separator = java.lang.System.getProperty("file.separator")
1
3339
* def outputpath = db.outputpath()
1
3340
* eval db.ensureDirectory(outputpath)
1
3341
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3342
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3343
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3344
Given path 'geonetwork/srv/dut/inspire'
1
3345
And param service = 'CSW'
9
3346
And param version = '2.0.2'
0
3347
And param request = 'GetRecordById'
0
3348
And param id = '9c5351c8-d8f4-41c2-9642-42a63496a6fe'
1
3349
And param elementsetname = 'full'
0
3350
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3351
When method get
2226
3352
Then status 200
0
3353
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9c5351c8-d8f4-41c2-9642-42a63496a6fe'
3
3354
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
2
3355
* def title = get response //citation/CI_Citation/title/CharacterString
2
3356
* def email = get response //electronicMailAddress/CharacterString
2
3357
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
2
3358
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
3359
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
3360
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
3361
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
3362
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
2
3363
* print organisationpath
0
06:39:47.930 [print] Beheer PDOK
3364
* print operateson
0
06:39:47.930 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=03671a9e-6aaf-464d-be99-9aad25cef9e3#MD_DataIdentification
3365
* eval db.writeln('"9c5351c8-d8f4-41c2-9642-42a63496a6fe","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
3366
* eval db.writeln('"9c5351c8-d8f4-41c2-9642-42a63496a6fe","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.103:18]2650d49b-7d9a-49b5-b748-a0372cd9b5cf
ms: 2255
>>
Background:
3367
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
3368
* def mystorage = Java.type('storage.DataStorage')
3
3369
* def db = new mystorage
1
3370
* def db = db.setfeature(karate.info.featureFileName)
1
3371
* def separator = java.lang.System.getProperty("file.separator")
1
3372
* def outputpath = db.outputpath()
1
3373
* eval db.ensureDirectory(outputpath)
1
3374
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3375
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3376
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3377
Given path 'geonetwork/srv/dut/inspire'
1
3378
And param service = 'CSW'
0
3379
And param version = '2.0.2'
0
3380
And param request = 'GetRecordById'
0
3381
And param id = '2650d49b-7d9a-49b5-b748-a0372cd9b5cf'
1
3382
And param elementsetname = 'full'
0
3383
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3384
When method get
2240
3385
Then status 200
0
3386
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2650d49b-7d9a-49b5-b748-a0372cd9b5cf'
1
3387
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3388
* def title = get response //citation/CI_Citation/title/CharacterString
0
3389
* def email = get response //electronicMailAddress/CharacterString
0
3390
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
6
3391
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3392
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3393
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3394
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3395
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3396
* print organisationpath
0
06:39:47.987 [print] Beheer PDOK
3397
* print operateson
0
06:39:47.987 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=bffcd5d9-02b4-4e7d-991f-a386611cad84#MD_DataIdentification
3398
* eval db.writeln('"2650d49b-7d9a-49b5-b748-a0372cd9b5cf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
3399
* eval db.writeln('"2650d49b-7d9a-49b5-b748-a0372cd9b5cf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.104:18]f917ffa9-1531-48ea-867e-0d413d85b05a
ms: 1796
>>
Background:
3400
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
3401
* def mystorage = Java.type('storage.DataStorage')
3
3402
* def db = new mystorage
1
3403
* def db = db.setfeature(karate.info.featureFileName)
1
3404
* def separator = java.lang.System.getProperty("file.separator")
1
3405
* def outputpath = db.outputpath()
1
3406
* eval db.ensureDirectory(outputpath)
1
3407
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3408
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3409
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3410
Given path 'geonetwork/srv/dut/inspire'
1
3411
And param service = 'CSW'
0
3412
And param version = '2.0.2'
0
3413
And param request = 'GetRecordById'
0
3414
And param id = 'f917ffa9-1531-48ea-867e-0d413d85b05a'
0
3415
And param elementsetname = 'full'
0
3416
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3417
When method get
1785
3418
Then status 200
0
3419
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f917ffa9-1531-48ea-867e-0d413d85b05a'
1
3420
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3421
* def title = get response //citation/CI_Citation/title/CharacterString
0
3422
* def email = get response //electronicMailAddress/CharacterString
0
3423
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3424
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3425
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3426
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3427
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3428
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
3429
* print organisationpath
0
06:39:47.747 [print] Beheer PDOK
3430
* print operateson
0
06:39:47.747 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=c4bed072-0fda-47b8-96fa-457a938b88fc", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=c4b137b8-2317-42c2-aced-204c4216d68d", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3229e4d7-4bcd-4b94-819d-8e62de69ce2e" ]
3431
* eval db.writeln('"f917ffa9-1531-48ea-867e-0d413d85b05a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
3432
* eval db.writeln('"f917ffa9-1531-48ea-867e-0d413d85b05a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.105:18]40c4ec8c-14b2-4104-982b-c0ebfd5397c4
ms: 2012
>>
Background:
3433
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
3434
* def mystorage = Java.type('storage.DataStorage')
3
3435
* def db = new mystorage
1
3436
* def db = db.setfeature(karate.info.featureFileName)
1
3437
* def separator = java.lang.System.getProperty("file.separator")
1
3438
* def outputpath = db.outputpath()
1
3439
* eval db.ensureDirectory(outputpath)
1
3440
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3441
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3442
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3443
Given path 'geonetwork/srv/dut/inspire'
0
3444
And param service = 'CSW'
0
3445
And param version = '2.0.2'
0
3446
And param request = 'GetRecordById'
0
3447
And param id = '40c4ec8c-14b2-4104-982b-c0ebfd5397c4'
0
3448
And param elementsetname = 'full'
0
3449
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3450
When method get
2001
3451
Then status 200
0
3452
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '40c4ec8c-14b2-4104-982b-c0ebfd5397c4'
1
3453
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3454
* def title = get response //citation/CI_Citation/title/CharacterString
0
3455
* def email = get response //electronicMailAddress/CharacterString
0
3456
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3457
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3458
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3459
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3460
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
3461
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3462
* print organisationpath
0
06:39:47.978 [print] Beheer PDOK
3463
* print operateson
0
06:39:47.979 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=db8d613f-5edc-4467-9cc0-e2dcfb9d64a8#MD_DataIdentification
3464
* eval db.writeln('"40c4ec8c-14b2-4104-982b-c0ebfd5397c4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
3465
* eval db.writeln('"40c4ec8c-14b2-4104-982b-c0ebfd5397c4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.106:18]d94b1eca-8a7d-4dc4-b979-36257878758f
ms: 2100
>>
Background:
3466
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
3467
* def mystorage = Java.type('storage.DataStorage')
3
3468
* def db = new mystorage
1
3469
* def db = db.setfeature(karate.info.featureFileName)
1
3470
* def separator = java.lang.System.getProperty("file.separator")
1
3471
* def outputpath = db.outputpath()
1
3472
* eval db.ensureDirectory(outputpath)
1
3473
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3474
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3475
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3476
Given path 'geonetwork/srv/dut/inspire'
0
3477
And param service = 'CSW'
0
3478
And param version = '2.0.2'
0
3479
And param request = 'GetRecordById'
0
3480
And param id = 'd94b1eca-8a7d-4dc4-b979-36257878758f'
0
3481
And param elementsetname = 'full'
0
3482
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3483
When method get
2086
3484
Then status 200
0
3485
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd94b1eca-8a7d-4dc4-b979-36257878758f'
2
3486
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3487
* def title = get response //citation/CI_Citation/title/CharacterString
1
3488
* def email = get response //electronicMailAddress/CharacterString
1
3489
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3490
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
3491
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
3492
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
3493
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
3494
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
3495
* print organisationpath
0
06:39:48.117 [print]
3496
* print operateson
0
06:39:48.117 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=effe1ab0-073d-437c-af13-df5c5e07d6cd#MD_DataIdentification
3497
* eval db.writeln('"d94b1eca-8a7d-4dc4-b979-36257878758f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
3498
* eval db.writeln('"d94b1eca-8a7d-4dc4-b979-36257878758f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.107:18]3e65fa1b-9bb1-41bd-9760-76962751b839
ms: 2095
>>
Background:
3499
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
3500
* def mystorage = Java.type('storage.DataStorage')
3
3501
* def db = new mystorage
1
3502
* def db = db.setfeature(karate.info.featureFileName)
1
3503
* def separator = java.lang.System.getProperty("file.separator")
1
3504
* def outputpath = db.outputpath()
1
3505
* eval db.ensureDirectory(outputpath)
1
3506
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3507
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3508
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3509
Given path 'geonetwork/srv/dut/inspire'
1
3510
And param service = 'CSW'
0
3511
And param version = '2.0.2'
0
3512
And param request = 'GetRecordById'
0
3513
And param id = '3e65fa1b-9bb1-41bd-9760-76962751b839'
0
3514
And param elementsetname = 'full'
0
3515
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3516
When method get
2084
3517
Then status 200
0
3518
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3e65fa1b-9bb1-41bd-9760-76962751b839'
1
3519
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3520
* def title = get response //citation/CI_Citation/title/CharacterString
0
3521
* def email = get response //electronicMailAddress/CharacterString
0
3522
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3523
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3524
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3525
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3526
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3527
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3528
* print organisationpath
0
06:39:48.203 [print] Beheer PDOK
3529
* print operateson
1
06:39:48.204 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=5996e444-f7f3-40d2-b485-8b9af6e8aa89#MD_DataIdentification
3530
* eval db.writeln('"3e65fa1b-9bb1-41bd-9760-76962751b839","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
3531
* eval db.writeln('"3e65fa1b-9bb1-41bd-9760-76962751b839","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.108:18]8abcd2d1-3beb-43e5-a572-2b2da05a0a98
ms: 1978
>>
Background:
3532
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
3533
* def mystorage = Java.type('storage.DataStorage')
3
3534
* def db = new mystorage
1
3535
* def db = db.setfeature(karate.info.featureFileName)
1
3536
* def separator = java.lang.System.getProperty("file.separator")
1
3537
* def outputpath = db.outputpath()
1
3538
* eval db.ensureDirectory(outputpath)
1
3539
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3540
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3541
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3542
Given path 'geonetwork/srv/dut/inspire'
1
3543
And param service = 'CSW'
0
3544
And param version = '2.0.2'
0
3545
And param request = 'GetRecordById'
0
3546
And param id = '8abcd2d1-3beb-43e5-a572-2b2da05a0a98'
1
3547
And param elementsetname = 'full'
0
3548
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3549
When method get
1966
3550
Then status 200
0
3551
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '8abcd2d1-3beb-43e5-a572-2b2da05a0a98'
1
3552
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3553
* def title = get response //citation/CI_Citation/title/CharacterString
1
3554
* def email = get response //electronicMailAddress/CharacterString
1
3555
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3556
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3557
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3558
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3559
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3560
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3561
* print organisationpath
0
06:39:48.230 [print] Beheer PDOK
3562
* print operateson
0
06:39:48.231 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=710c381c-ab2d-45d5-a45d-af2eba811e5f#MD_DataIdentification
3563
* eval db.writeln('"8abcd2d1-3beb-43e5-a572-2b2da05a0a98","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
3564
* eval db.writeln('"8abcd2d1-3beb-43e5-a572-2b2da05a0a98","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.109:18]94e5b115-bece-4140-99ed-93b8f363948e
ms: 2126
>>
Background:
3565
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
3566
* def mystorage = Java.type('storage.DataStorage')
3
3567
* def db = new mystorage
1
3568
* def db = db.setfeature(karate.info.featureFileName)
1
3569
* def separator = java.lang.System.getProperty("file.separator")
1
3570
* def outputpath = db.outputpath()
1
3571
* eval db.ensureDirectory(outputpath)
1
3572
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3573
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3574
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3575
Given path 'geonetwork/srv/dut/inspire'
0
3576
And param service = 'CSW'
0
3577
And param version = '2.0.2'
0
3578
And param request = 'GetRecordById'
0
3579
And param id = '94e5b115-bece-4140-99ed-93b8f363948e'
1
3580
And param elementsetname = 'full'
0
3581
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3582
When method get
2115
3583
Then status 200
0
3584
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '94e5b115-bece-4140-99ed-93b8f363948e'
2
3585
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3586
* def title = get response //citation/CI_Citation/title/CharacterString
1
3587
* def email = get response //electronicMailAddress/CharacterString
1
3588
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3589
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3590
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3591
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3592
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3593
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
3594
* print organisationpath
0
06:39:48.390 [print] Beheer PDOK
3595
* print operateson
0
06:39:48.390 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=41daef8b-155e-4608-b49c-c87ea45d931c#MD_DataIdentification
3596
* eval db.writeln('"94e5b115-bece-4140-99ed-93b8f363948e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
3597
* eval db.writeln('"94e5b115-bece-4140-99ed-93b8f363948e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.110:18]88a93a3b-d522-4c5d-9b0f-c6c39a118442
ms: 2144
>>
Background:
3598
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
3599
* def mystorage = Java.type('storage.DataStorage')
3
3600
* def db = new mystorage
1
3601
* def db = db.setfeature(karate.info.featureFileName)
1
3602
* def separator = java.lang.System.getProperty("file.separator")
1
3603
* def outputpath = db.outputpath()
1
3604
* eval db.ensureDirectory(outputpath)
1
3605
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3606
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3607
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3608
Given path 'geonetwork/srv/dut/inspire'
1
3609
And param service = 'CSW'
0
3610
And param version = '2.0.2'
0
3611
And param request = 'GetRecordById'
0
3612
And param id = '88a93a3b-d522-4c5d-9b0f-c6c39a118442'
0
3613
And param elementsetname = 'full'
0
3614
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3615
When method get
2133
3616
Then status 200
0
3617
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '88a93a3b-d522-4c5d-9b0f-c6c39a118442'
1
3618
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3619
* def title = get response //citation/CI_Citation/title/CharacterString
0
3620
* def email = get response //electronicMailAddress/CharacterString
0
3621
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3622
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3623
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3624
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3625
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3626
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3627
* print organisationpath
0
06:39:48.472 [print] Beheer PDOK
3628
* print operateson
0
06:39:48.472 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=10d1153e-778f-4995-9b6c-7c69b196cccb#MD_DataIdentification
3629
* eval db.writeln('"88a93a3b-d522-4c5d-9b0f-c6c39a118442","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
3630
* eval db.writeln('"88a93a3b-d522-4c5d-9b0f-c6c39a118442","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.111:18]ee543323-0fe4-4353-9161-eda61ff26c07
ms: 786
>>
Background:
3631
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
3632
* def mystorage = Java.type('storage.DataStorage')
3
3633
* def db = new mystorage
1
3634
* def db = db.setfeature(karate.info.featureFileName)
1
3635
* def separator = java.lang.System.getProperty("file.separator")
1
3636
* def outputpath = db.outputpath()
1
3637
* eval db.ensureDirectory(outputpath)
1
3638
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3639
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3640
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3641
Given path 'geonetwork/srv/dut/inspire'
1
3642
And param service = 'CSW'
0
3643
And param version = '2.0.2'
0
3644
And param request = 'GetRecordById'
0
3645
And param id = 'ee543323-0fe4-4353-9161-eda61ff26c07'
0
3646
And param elementsetname = 'full'
0
3647
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3648
When method get
762
3649
Then status 200
0
3650
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ee543323-0fe4-4353-9161-eda61ff26c07'
1
3651
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3652
* def title = get response //citation/CI_Citation/title/CharacterString
0
3653
* def email = get response //electronicMailAddress/CharacterString
0
3654
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3655
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3656
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3657
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
3658
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
3659
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
3660
* print organisationpath
0
06:39:47.183 [print] Beheer PDOK
3661
* print operateson
0
06:39:47.183 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3373be8c-8539-4763-bc22-eba23ac1898f#MD_DataIdentification
3662
* eval db.writeln('"ee543323-0fe4-4353-9161-eda61ff26c07","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
15
3663
* eval db.writeln('"ee543323-0fe4-4353-9161-eda61ff26c07","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.112:18]a02c6566-e0ad-4fc1-b217-67cc1099dea2
ms: 2084
>>
Background:
3664
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
3665
* def mystorage = Java.type('storage.DataStorage')
3
3666
* def db = new mystorage
1
3667
* def db = db.setfeature(karate.info.featureFileName)
1
3668
* def separator = java.lang.System.getProperty("file.separator")
1
3669
* def outputpath = db.outputpath()
1
3670
* eval db.ensureDirectory(outputpath)
1
3671
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3672
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3673
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3674
Given path 'geonetwork/srv/dut/inspire'
5
3675
And param service = 'CSW'
0
3676
And param version = '2.0.2'
0
3677
And param request = 'GetRecordById'
0
3678
And param id = 'a02c6566-e0ad-4fc1-b217-67cc1099dea2'
0
3679
And param elementsetname = 'full'
0
3680
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3681
When method get
2067
3682
Then status 200
0
3683
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a02c6566-e0ad-4fc1-b217-67cc1099dea2'
1
3684
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3685
* def title = get response //citation/CI_Citation/title/CharacterString
0
3686
* def email = get response //electronicMailAddress/CharacterString
0
3687
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3688
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3689
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3690
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3691
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3692
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3693
* print organisationpath
0
06:39:48.553 [print]
3694
* print operateson
0
06:39:48.554 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8b0b02a0-1e1b-4cda-bcfe-6fa0f738e38f#MD_DataIdentification
3695
* eval db.writeln('"a02c6566-e0ad-4fc1-b217-67cc1099dea2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
3696
* eval db.writeln('"a02c6566-e0ad-4fc1-b217-67cc1099dea2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.113:18]7dc30aed-0940-4e69-b34c-9f24b34078eb
ms: 1952
>>
Background:
3697
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
3698
* def mystorage = Java.type('storage.DataStorage')
3
3699
* def db = new mystorage
1
3700
* def db = db.setfeature(karate.info.featureFileName)
1
3701
* def separator = java.lang.System.getProperty("file.separator")
1
3702
* def outputpath = db.outputpath()
1
3703
* eval db.ensureDirectory(outputpath)
1
3704
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3705
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3706
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3707
Given path 'geonetwork/srv/dut/inspire'
0
3708
And param service = 'CSW'
0
3709
And param version = '2.0.2'
0
3710
And param request = 'GetRecordById'
0
3711
And param id = '7dc30aed-0940-4e69-b34c-9f24b34078eb'
0
3712
And param elementsetname = 'full'
0
3713
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3714
When method get
1941
3715
Then status 200
0
3716
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7dc30aed-0940-4e69-b34c-9f24b34078eb'
1
3717
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3718
* def title = get response //citation/CI_Citation/title/CharacterString
0
3719
* def email = get response //electronicMailAddress/CharacterString
0
3720
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3721
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3722
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3723
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3724
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3725
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3726
* print organisationpath
0
06:39:48.426 [print]
3727
* print operateson
0
06:39:48.426 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f8d840bc-18df-4449-b797-b9adcb81d3ec#MD_DataIdentification
3728
* eval db.writeln('"7dc30aed-0940-4e69-b34c-9f24b34078eb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
3729
* eval db.writeln('"7dc30aed-0940-4e69-b34c-9f24b34078eb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.114:18]2b9da196-422e-4b0e-a5ba-ba41ade308e9
ms: 2249
>>
Background:
3730
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
3731
* def mystorage = Java.type('storage.DataStorage')
3
3732
* def db = new mystorage
1
3733
* def db = db.setfeature(karate.info.featureFileName)
1
3734
* def separator = java.lang.System.getProperty("file.separator")
1
3735
* def outputpath = db.outputpath()
1
3736
* eval db.ensureDirectory(outputpath)
1
3737
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3738
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3739
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3740
Given path 'geonetwork/srv/dut/inspire'
1
3741
And param service = 'CSW'
0
3742
And param version = '2.0.2'
0
3743
And param request = 'GetRecordById'
0
3744
And param id = '2b9da196-422e-4b0e-a5ba-ba41ade308e9'
0
3745
And param elementsetname = 'full'
0
3746
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3747
When method get
2221
3748
Then status 200
0
3749
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2b9da196-422e-4b0e-a5ba-ba41ade308e9'
2
3750
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
2
3751
* def title = get response //citation/CI_Citation/title/CharacterString
2
3752
* def email = get response //electronicMailAddress/CharacterString
2
3753
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
7
3754
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
3755
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
2
3756
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
2
3757
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
2
3758
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
2
3759
* print organisationpath
0
06:39:48.828 [print] Beheer PDOK
3760
* print operateson
0
06:39:48.828 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=977e0e94-7aa9-4784-b2da-eaec44adb61b#MD_DataIdentification
3761
* eval db.writeln('"2b9da196-422e-4b0e-a5ba-ba41ade308e9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
3762
* eval db.writeln('"2b9da196-422e-4b0e-a5ba-ba41ade308e9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.115:18]68722979-8d6c-4ee4-a81a-8381d2588fe5
ms: 2072
>>
Background:
3763
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
3764
* def mystorage = Java.type('storage.DataStorage')
3
3765
* def db = new mystorage
1
3766
* def db = db.setfeature(karate.info.featureFileName)
1
3767
* def separator = java.lang.System.getProperty("file.separator")
1
3768
* def outputpath = db.outputpath()
1
3769
* eval db.ensureDirectory(outputpath)
1
3770
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3771
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3772
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3773
Given path 'geonetwork/srv/dut/inspire'
1
3774
And param service = 'CSW'
0
3775
And param version = '2.0.2'
0
3776
And param request = 'GetRecordById'
0
3777
And param id = '68722979-8d6c-4ee4-a81a-8381d2588fe5'
1
3778
And param elementsetname = 'full'
0
3779
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3780
When method get
2061
3781
Then status 200
0
3782
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '68722979-8d6c-4ee4-a81a-8381d2588fe5'
1
3783
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3784
* def title = get response //citation/CI_Citation/title/CharacterString
1
3785
* def email = get response //electronicMailAddress/CharacterString
0
3786
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
2
3787
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3788
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3789
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3790
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3791
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3792
* print organisationpath
0
06:39:48.810 [print] Beheer PDOK
3793
* print operateson
0
06:39:48.810 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=eu-f297898-2640-44c2-bbe9-c0480da83794#MD_DataIdentification
3794
* eval db.writeln('"68722979-8d6c-4ee4-a81a-8381d2588fe5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
3795
* eval db.writeln('"68722979-8d6c-4ee4-a81a-8381d2588fe5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.116:18]6d86c14f-cccf-41e9-a58e-ead9d52ae35d
ms: 1597
>>
Background:
3796
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
3797
* def mystorage = Java.type('storage.DataStorage')
3
3798
* def db = new mystorage
1
3799
* def db = db.setfeature(karate.info.featureFileName)
1
3800
* def separator = java.lang.System.getProperty("file.separator")
1
3801
* def outputpath = db.outputpath()
1
3802
* eval db.ensureDirectory(outputpath)
1
3803
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3804
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3805
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3806
Given path 'geonetwork/srv/dut/inspire'
1
3807
And param service = 'CSW'
0
3808
And param version = '2.0.2'
0
3809
And param request = 'GetRecordById'
0
3810
And param id = '6d86c14f-cccf-41e9-a58e-ead9d52ae35d'
0
3811
And param elementsetname = 'full'
0
3812
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3813
When method get
1584
3814
Then status 200
0
3815
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6d86c14f-cccf-41e9-a58e-ead9d52ae35d'
3
3816
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3817
* def title = get response //citation/CI_Citation/title/CharacterString
0
3818
* def email = get response //electronicMailAddress/CharacterString
0
3819
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
3820
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3821
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3822
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
3823
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3824
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
3825
* print organisationpath
0
06:39:48.582 [print] Informatiehuis Water
3826
* print operateson
0
06:39:48.582 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=110f9ec6-4464-462e-9765-83d90cefbeab&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full
3827
* eval db.writeln('"6d86c14f-cccf-41e9-a58e-ead9d52ae35d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
3
3828
* eval db.writeln('"6d86c14f-cccf-41e9-a58e-ead9d52ae35d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.117:18]58353cdf-b3a1-454e-9284-932a7e815e57
ms: 2001
>>
Background:
3829
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
3830
* def mystorage = Java.type('storage.DataStorage')
3
3831
* def db = new mystorage
1
3832
* def db = db.setfeature(karate.info.featureFileName)
1
3833
* def separator = java.lang.System.getProperty("file.separator")
1
3834
* def outputpath = db.outputpath()
1
3835
* eval db.ensureDirectory(outputpath)
1
3836
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3837
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3838
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3839
Given path 'geonetwork/srv/dut/inspire'
0
3840
And param service = 'CSW'
0
3841
And param version = '2.0.2'
0
3842
And param request = 'GetRecordById'
0
3843
And param id = '58353cdf-b3a1-454e-9284-932a7e815e57'
0
3844
And param elementsetname = 'full'
0
3845
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3846
When method get
1990
3847
Then status 200
0
3848
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '58353cdf-b3a1-454e-9284-932a7e815e57'
1
3849
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3850
* def title = get response //citation/CI_Citation/title/CharacterString
1
3851
* def email = get response //electronicMailAddress/CharacterString
1
3852
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3853
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3854
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3855
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3856
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3857
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
3858
* print organisationpath
0
06:39:49.023 [print] Beheer PDOK
3859
* print operateson
0
06:39:49.024 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification
3860
* eval db.writeln('"58353cdf-b3a1-454e-9284-932a7e815e57","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
3861
* eval db.writeln('"58353cdf-b3a1-454e-9284-932a7e815e57","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.118:18]dd414384-0bcb-4188-86e2-2843e12a579e
ms: 1859
>>
Background:
3862
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
3863
* def mystorage = Java.type('storage.DataStorage')
3
3864
* def db = new mystorage
1
3865
* def db = db.setfeature(karate.info.featureFileName)
1
3866
* def separator = java.lang.System.getProperty("file.separator")
1
3867
* def outputpath = db.outputpath()
1
3868
* eval db.ensureDirectory(outputpath)
1
3869
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3870
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3871
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3872
Given path 'geonetwork/srv/dut/inspire'
1
3873
And param service = 'CSW'
0
3874
And param version = '2.0.2'
0
3875
And param request = 'GetRecordById'
0
3876
And param id = 'dd414384-0bcb-4188-86e2-2843e12a579e'
0
3877
And param elementsetname = 'full'
0
3878
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3879
When method get
1850
3880
Then status 200
0
3881
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'dd414384-0bcb-4188-86e2-2843e12a579e'
1
3882
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3883
* def title = get response //citation/CI_Citation/title/CharacterString
0
3884
* def email = get response //electronicMailAddress/CharacterString
0
3885
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
3886
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3887
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3888
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3889
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3890
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3891
* print organisationpath
0
06:39:48.981 [print] TNO Geologische Dienst Nederland
3892
* print operateson
0
06:39:48.981 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=a7fb2234-f7b4-4a03-b282-f10947f42fb1&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
3893
* eval db.writeln('"dd414384-0bcb-4188-86e2-2843e12a579e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
3894
* eval db.writeln('"dd414384-0bcb-4188-86e2-2843e12a579e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.119:18]1ce74355-763a-481d-b9d7-aaafbf0d7d53
ms: 1975
>>
Background:
3895
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
3896
* def mystorage = Java.type('storage.DataStorage')
3
3897
* def db = new mystorage
1
3898
* def db = db.setfeature(karate.info.featureFileName)
1
3899
* def separator = java.lang.System.getProperty("file.separator")
1
3900
* def outputpath = db.outputpath()
1
3901
* eval db.ensureDirectory(outputpath)
1
3902
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3903
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3904
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3905
Given path 'geonetwork/srv/dut/inspire'
1
3906
And param service = 'CSW'
0
3907
And param version = '2.0.2'
0
3908
And param request = 'GetRecordById'
0
3909
And param id = '1ce74355-763a-481d-b9d7-aaafbf0d7d53'
0
3910
And param elementsetname = 'full'
0
3911
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
8
3912
When method get
1949
3913
Then status 200
0
3914
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1ce74355-763a-481d-b9d7-aaafbf0d7d53'
2
3915
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3916
* def title = get response //citation/CI_Citation/title/CharacterString
1
3917
* def email = get response //electronicMailAddress/CharacterString
1
3918
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3919
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
3920
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
3921
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
3922
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
3923
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
3924
* print organisationpath
0
06:39:49.163 [print] Beheer PDOK
3925
* print operateson
0
06:39:49.164 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=28c4780a-1a44-4376-b283-14a50a481729#MD_DataIdentification
3926
* eval db.writeln('"1ce74355-763a-481d-b9d7-aaafbf0d7d53","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
3927
* eval db.writeln('"1ce74355-763a-481d-b9d7-aaafbf0d7d53","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.120:18]23aa5150-fcc7-46ea-ae63-a7f198d8bc18
ms: 2053
>>
Background:
3928
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
3929
* def mystorage = Java.type('storage.DataStorage')
3
3930
* def db = new mystorage
1
3931
* def db = db.setfeature(karate.info.featureFileName)
1
3932
* def separator = java.lang.System.getProperty("file.separator")
1
3933
* def outputpath = db.outputpath()
1
3934
* eval db.ensureDirectory(outputpath)
1
3935
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3936
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3937
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3938
Given path 'geonetwork/srv/dut/inspire'
0
3939
And param service = 'CSW'
0
3940
And param version = '2.0.2'
0
3941
And param request = 'GetRecordById'
0
3942
And param id = '23aa5150-fcc7-46ea-ae63-a7f198d8bc18'
0
3943
And param elementsetname = 'full'
0
3944
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3945
When method get
2044
3946
Then status 200
0
3947
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '23aa5150-fcc7-46ea-ae63-a7f198d8bc18'
1
3948
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3949
* def title = get response //citation/CI_Citation/title/CharacterString
0
3950
* def email = get response //electronicMailAddress/CharacterString
0
3951
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3952
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3953
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3954
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3955
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3956
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3957
* print organisationpath
0
06:39:49.250 [print]
3958
* print operateson
0
06:39:49.250 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2cc2c30c-91b8-412a-a060-e84d25272581#MD_DataIdentification
3959
* eval db.writeln('"23aa5150-fcc7-46ea-ae63-a7f198d8bc18","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
3960
* eval db.writeln('"23aa5150-fcc7-46ea-ae63-a7f198d8bc18","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.121:18]3ebe56dc-5f09-4fb3-b224-55c2db4ca2fd
ms: 1980
>>
Background:
3961
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
3962
* def mystorage = Java.type('storage.DataStorage')
3
3963
* def db = new mystorage
1
3964
* def db = db.setfeature(karate.info.featureFileName)
1
3965
* def separator = java.lang.System.getProperty("file.separator")
1
3966
* def outputpath = db.outputpath()
1
3967
* eval db.ensureDirectory(outputpath)
1
3968
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3969
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3970
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3971
Given path 'geonetwork/srv/dut/inspire'
1
3972
And param service = 'CSW'
0
3973
And param version = '2.0.2'
0
3974
And param request = 'GetRecordById'
0
3975
And param id = '3ebe56dc-5f09-4fb3-b224-55c2db4ca2fd'
0
3976
And param elementsetname = 'full'
0
3977
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3978
When method get
1966
3979
Then status 200
0
3980
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3ebe56dc-5f09-4fb3-b224-55c2db4ca2fd'
5
3981
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3982
* def title = get response //citation/CI_Citation/title/CharacterString
0
3983
* def email = get response //electronicMailAddress/CharacterString
0
3984
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3985
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3986
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3987
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3988
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3989
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3990
* print organisationpath
0
06:39:49.237 [print] Beheer PDOK
3991
* print operateson
0
06:39:49.237 [print] https://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=29c17585-e702-463f-a5dc-99d34b17d333#MD_DataIdentification
3992
* eval db.writeln('"3ebe56dc-5f09-4fb3-b224-55c2db4ca2fd","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
3993
* eval db.writeln('"3ebe56dc-5f09-4fb3-b224-55c2db4ca2fd","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.122:18]081bcfff-5f66-467c-95d0-d88dcf9aa4cf
ms: 1887
>>
Background:
3994
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
3995
* def mystorage = Java.type('storage.DataStorage')
3
3996
* def db = new mystorage
1
3997
* def db = db.setfeature(karate.info.featureFileName)
1
3998
* def separator = java.lang.System.getProperty("file.separator")
1
3999
* def outputpath = db.outputpath()
1
4000
* eval db.ensureDirectory(outputpath)
1
4001
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4002
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4003
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4004
Given path 'geonetwork/srv/dut/inspire'
1
4005
And param service = 'CSW'
0
4006
And param version = '2.0.2'
0
4007
And param request = 'GetRecordById'
0
4008
And param id = '081bcfff-5f66-467c-95d0-d88dcf9aa4cf'
0
4009
And param elementsetname = 'full'
0
4010
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4011
When method get
1877
4012
Then status 200
0
4013
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '081bcfff-5f66-467c-95d0-d88dcf9aa4cf'
1
4014
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4015
* def title = get response //citation/CI_Citation/title/CharacterString
0
4016
* def email = get response //electronicMailAddress/CharacterString
0
4017
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4018
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4019
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4020
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4021
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4022
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4023
* print organisationpath
0
06:39:49.302 [print]
4024
* print operateson
0
06:39:49.302 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=b3f66964-a8c1-456f-9799-9cafca2cb7b1#MD_DataIdentification
4025
* eval db.writeln('"081bcfff-5f66-467c-95d0-d88dcf9aa4cf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
4026
* eval db.writeln('"081bcfff-5f66-467c-95d0-d88dcf9aa4cf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.123:18]03c48a93-1e31-4c69-92c6-9a7efecf67a9
ms: 1745
>>
Background:
4027
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
4028
* def mystorage = Java.type('storage.DataStorage')
3
4029
* def db = new mystorage
1
4030
* def db = db.setfeature(karate.info.featureFileName)
1
4031
* def separator = java.lang.System.getProperty("file.separator")
1
4032
* def outputpath = db.outputpath()
1
4033
* eval db.ensureDirectory(outputpath)
1
4034
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4035
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4036
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4037
Given path 'geonetwork/srv/dut/inspire'
1
4038
And param service = 'CSW'
0
4039
And param version = '2.0.2'
0
4040
And param request = 'GetRecordById'
0
4041
And param id = '03c48a93-1e31-4c69-92c6-9a7efecf67a9'
0
4042
And param elementsetname = 'full'
0
4043
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4044
When method get
1735
4045
Then status 200
0
4046
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '03c48a93-1e31-4c69-92c6-9a7efecf67a9'
1
4047
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4048
* def title = get response //citation/CI_Citation/title/CharacterString
0
4049
* def email = get response //electronicMailAddress/CharacterString
0
4050
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4051
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4052
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4053
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4054
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4055
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4056
* print organisationpath
0
06:39:49.226 [print] Beheer PDOK
4057
* print operateson
0
06:39:49.226 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3229e4d7-4bcd-4b94-819d-8e62de69ce2e", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=c4bed072-0fda-47b8-96fa-457a938b88fc", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c4b137b8-2317-42c2-aced-204c4216d68d" ]
4058
* eval db.writeln('"03c48a93-1e31-4c69-92c6-9a7efecf67a9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
4059
* eval db.writeln('"03c48a93-1e31-4c69-92c6-9a7efecf67a9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.124:18]5dfccef3-9b52-47f2-bb02-66b74aaf3af8
ms: 1847
>>
Background:
4060
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
4061
* def mystorage = Java.type('storage.DataStorage')
3
4062
* def db = new mystorage
1
4063
* def db = db.setfeature(karate.info.featureFileName)
1
4064
* def separator = java.lang.System.getProperty("file.separator")
1
4065
* def outputpath = db.outputpath()
1
4066
* eval db.ensureDirectory(outputpath)
1
4067
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4068
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4069
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4070
Given path 'geonetwork/srv/dut/inspire'
1
4071
And param service = 'CSW'
0
4072
And param version = '2.0.2'
0
4073
And param request = 'GetRecordById'
0
4074
And param id = '5dfccef3-9b52-47f2-bb02-66b74aaf3af8'
0
4075
And param elementsetname = 'full'
0
4076
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4077
When method get
1834
4078
Then status 200
0
4079
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5dfccef3-9b52-47f2-bb02-66b74aaf3af8'
1
4080
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4081
* def title = get response //citation/CI_Citation/title/CharacterString
0
4082
* def email = get response //electronicMailAddress/CharacterString
0
4083
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4084
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4085
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4086
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4087
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4088
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4089
* print organisationpath
0
06:39:49.517 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
4090
* print operateson
0
06:39:49.517 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=4d514a2b-4a7e-4686-b9ea-87cb3e17ed52&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
4091
* eval db.writeln('"5dfccef3-9b52-47f2-bb02-66b74aaf3af8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
4
4092
* eval db.writeln('"5dfccef3-9b52-47f2-bb02-66b74aaf3af8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.125:18]664862cb-d426-4ee4-97ac-14c12b903b54
ms: 1786
>>
Background:
4093
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
4094
* def mystorage = Java.type('storage.DataStorage')
3
4095
* def db = new mystorage
1
4096
* def db = db.setfeature(karate.info.featureFileName)
1
4097
* def separator = java.lang.System.getProperty("file.separator")
1
4098
* def outputpath = db.outputpath()
1
4099
* eval db.ensureDirectory(outputpath)
1
4100
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4101
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4102
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4103
Given path 'geonetwork/srv/dut/inspire'
1
4104
And param service = 'CSW'
1
4105
And param version = '2.0.2'
0
4106
And param request = 'GetRecordById'
0
4107
And param id = '664862cb-d426-4ee4-97ac-14c12b903b54'
0
4108
And param elementsetname = 'full'
0
4109
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4110
When method get
1773
4111
Then status 200
0
4112
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '664862cb-d426-4ee4-97ac-14c12b903b54'
1
4113
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4114
* def title = get response //citation/CI_Citation/title/CharacterString
0
4115
* def email = get response //electronicMailAddress/CharacterString
0
4116
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4117
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4118
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4119
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4120
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4121
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
4
4122
* print organisationpath
0
06:39:49.534 [print] TNO Geologische Dienst Nederland
4123
* print operateson
0
06:39:49.534 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=6050578f-0010-4bfa-b013-c8617b80ba62&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
4124
* eval db.writeln('"664862cb-d426-4ee4-97ac-14c12b903b54","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
4125
* eval db.writeln('"664862cb-d426-4ee4-97ac-14c12b903b54","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.126:18]027e3f15-3b58-4570-97bb-779ce3ca947e
ms: 1985
>>
Background:
4126
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
4127
* def mystorage = Java.type('storage.DataStorage')
3
4128
* def db = new mystorage
1
4129
* def db = db.setfeature(karate.info.featureFileName)
1
4130
* def separator = java.lang.System.getProperty("file.separator")
1
4131
* def outputpath = db.outputpath()
1
4132
* eval db.ensureDirectory(outputpath)
1
4133
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4134
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4135
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4136
Given path 'geonetwork/srv/dut/inspire'
1
4137
And param service = 'CSW'
0
4138
And param version = '2.0.2'
0
4139
And param request = 'GetRecordById'
0
4140
And param id = '027e3f15-3b58-4570-97bb-779ce3ca947e'
1
4141
And param elementsetname = 'full'
0
4142
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4143
When method get
1967
4144
Then status 200
0
4145
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '027e3f15-3b58-4570-97bb-779ce3ca947e'
1
4146
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4147
* def title = get response //citation/CI_Citation/title/CharacterString
0
4148
* def email = get response //electronicMailAddress/CharacterString
0
4149
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4150
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4151
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4152
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4153
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4154
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4155
* print organisationpath
0
06:39:49.738 [print] Beheer PDOK
4156
* print operateson
0
06:39:49.738 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5c37d29a-006d-4136-8989-adfc35a1d4a7#MD_DataIdentification
4157
* eval db.writeln('"027e3f15-3b58-4570-97bb-779ce3ca947e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
6
4158
* eval db.writeln('"027e3f15-3b58-4570-97bb-779ce3ca947e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
6
Scenario Outline: [1.127:18]1ff0035a-acc0-4a67-a76c-3b79646b4eef
ms: 1862
>>
Background:
4159
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
4160
* def mystorage = Java.type('storage.DataStorage')
3
4161
* def db = new mystorage
1
4162
* def db = db.setfeature(karate.info.featureFileName)
1
4163
* def separator = java.lang.System.getProperty("file.separator")
1
4164
* def outputpath = db.outputpath()
1
4165
* eval db.ensureDirectory(outputpath)
1
4166
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4167
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4168
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4169
Given path 'geonetwork/srv/dut/inspire'
1
4170
And param service = 'CSW'
0
4171
And param version = '2.0.2'
0
4172
And param request = 'GetRecordById'
0
4173
And param id = '1ff0035a-acc0-4a67-a76c-3b79646b4eef'
0
4174
And param elementsetname = 'full'
0
4175
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4176
When method get
1847
4177
Then status 200
0
4178
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1ff0035a-acc0-4a67-a76c-3b79646b4eef'
1
4179
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4180
* def title = get response //citation/CI_Citation/title/CharacterString
0
4181
* def email = get response //electronicMailAddress/CharacterString
0
4182
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4183
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4184
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4185
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4186
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4187
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4188
* print organisationpath
0
06:39:49.628 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
4189
* print operateson
0
06:39:49.628 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=be6551de-a709-4c6d-a5e2-f63f0cf038ba&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
4190
* eval db.writeln('"1ff0035a-acc0-4a67-a76c-3b79646b4eef","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
7
4191
* eval db.writeln('"1ff0035a-acc0-4a67-a76c-3b79646b4eef","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.128:18]4bb89277-6ebe-4e66-8929-cd275aa7fd81
ms: 2031
>>
Background:
4192
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
4193
* def mystorage = Java.type('storage.DataStorage')
3
4194
* def db = new mystorage
1
4195
* def db = db.setfeature(karate.info.featureFileName)
1
4196
* def separator = java.lang.System.getProperty("file.separator")
1
4197
* def outputpath = db.outputpath()
1
4198
* eval db.ensureDirectory(outputpath)
1
4199
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4200
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4201
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4202
Given path 'geonetwork/srv/dut/inspire'
1
4203
And param service = 'CSW'
0
4204
And param version = '2.0.2'
0
4205
And param request = 'GetRecordById'
0
4206
And param id = '4bb89277-6ebe-4e66-8929-cd275aa7fd81'
0
4207
And param elementsetname = 'full'
0
4208
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4209
When method get
2020
4210
Then status 200
0
4211
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4bb89277-6ebe-4e66-8929-cd275aa7fd81'
1
4212
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4213
* def title = get response //citation/CI_Citation/title/CharacterString
0
4214
* def email = get response //electronicMailAddress/CharacterString
0
4215
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4216
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4217
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
4218
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4219
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
4220
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4221
* print organisationpath
0
06:39:49.962 [print] Beheer PDOK
4222
* print operateson
0
06:39:49.962 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=76327507-4be4-4f2a-8d0a-83ec36656177#MD_DataIdentification
4223
* eval db.writeln('"4bb89277-6ebe-4e66-8929-cd275aa7fd81","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
4224
* eval db.writeln('"4bb89277-6ebe-4e66-8929-cd275aa7fd81","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.129:18]bf56537a-dce6-11e3-82c1-901b0e19e163
ms: 2104
>>
Background:
4225
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
4226
* def mystorage = Java.type('storage.DataStorage')
3
4227
* def db = new mystorage
1
4228
* def db = db.setfeature(karate.info.featureFileName)
1
4229
* def separator = java.lang.System.getProperty("file.separator")
1
4230
* def outputpath = db.outputpath()
1
4231
* eval db.ensureDirectory(outputpath)
1
4232
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4233
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4234
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4235
Given path 'geonetwork/srv/dut/inspire'
1
4236
And param service = 'CSW'
0
4237
And param version = '2.0.2'
0
4238
And param request = 'GetRecordById'
0
4239
And param id = 'bf56537a-dce6-11e3-82c1-901b0e19e163'
0
4240
And param elementsetname = 'full'
0
4241
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4242
When method get
2023
4243
Then status 200
0
4244
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'bf56537a-dce6-11e3-82c1-901b0e19e163'
1
4245
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4246
* def title = get response //citation/CI_Citation/title/CharacterString
1
4247
* def email = get response //electronicMailAddress/CharacterString
0
4248
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4249
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
61
4250
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
4251
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4252
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4253
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4254
* print organisationpath
0
06:39:50.073 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI)
4255
* print operateson
0
06:39:50.073 [print] http://data.knmi.nl/inspire/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=daa63e4c-dce6-11e3-991e-901b0e19e163&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full
4256
* eval db.writeln('"bf56537a-dce6-11e3-82c1-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
5
4257
* eval db.writeln('"bf56537a-dce6-11e3-82c1-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
9
Scenario Outline: [1.130:18]f2d2cd9d-7410-485a-95e0-c1b885243eaf
ms: 2002
>>
Background:
4258
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
4259
* def mystorage = Java.type('storage.DataStorage')
3
4260
* def db = new mystorage
1
4261
* def db = db.setfeature(karate.info.featureFileName)
1
4262
* def separator = java.lang.System.getProperty("file.separator")
1
4263
* def outputpath = db.outputpath()
1
4264
* eval db.ensureDirectory(outputpath)
1
4265
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4266
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4267
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4268
Given path 'geonetwork/srv/dut/inspire'
0
4269
And param service = 'CSW'
0
4270
And param version = '2.0.2'
0
4271
And param request = 'GetRecordById'
0
4272
And param id = 'f2d2cd9d-7410-485a-95e0-c1b885243eaf'
0
4273
And param elementsetname = 'full'
0
4274
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4275
When method get
1993
4276
Then status 200
0
4277
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f2d2cd9d-7410-485a-95e0-c1b885243eaf'
1
4278
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4279
* def title = get response //citation/CI_Citation/title/CharacterString
0
4280
* def email = get response //electronicMailAddress/CharacterString
0
4281
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4282
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4283
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4284
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4285
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4286
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4287
* print organisationpath
0
06:39:49.989 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
4288
* print operateson
0
06:39:49.989 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e8b84fae-00b3-49c1-80c1-df8f69f64e8c#MD_DataIdentification
4289
* eval db.writeln('"f2d2cd9d-7410-485a-95e0-c1b885243eaf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
4290
* eval db.writeln('"f2d2cd9d-7410-485a-95e0-c1b885243eaf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.131:18]1cb58f52-c397-4cec-aba3-45358db3c4c9
ms: 2033
>>
Background:
4291
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
4292
* def mystorage = Java.type('storage.DataStorage')
3
4293
* def db = new mystorage
1
4294
* def db = db.setfeature(karate.info.featureFileName)
1
4295
* def separator = java.lang.System.getProperty("file.separator")
1
4296
* def outputpath = db.outputpath()
1
4297
* eval db.ensureDirectory(outputpath)
1
4298
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4299
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4300
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4301
Given path 'geonetwork/srv/dut/inspire'
1
4302
And param service = 'CSW'
0
4303
And param version = '2.0.2'
0
4304
And param request = 'GetRecordById'
0
4305
And param id = '1cb58f52-c397-4cec-aba3-45358db3c4c9'
0
4306
And param elementsetname = 'full'
0
4307
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4308
When method get
2022
4309
Then status 200
0
4310
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1cb58f52-c397-4cec-aba3-45358db3c4c9'
1
4311
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4312
* def title = get response //citation/CI_Citation/title/CharacterString
0
4313
* def email = get response //electronicMailAddress/CharacterString
0
4314
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4315
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4316
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4317
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4318
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4319
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
4320
* print organisationpath
1
06:39:50.151 [print] Beheer PDOK
4321
* print operateson
0
06:39:50.151 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e80ad426-1392-4349-9f80-14dae5f1bf57#MD_DataIdentification
4322
* eval db.writeln('"1cb58f52-c397-4cec-aba3-45358db3c4c9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
4323
* eval db.writeln('"1cb58f52-c397-4cec-aba3-45358db3c4c9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.132:18]578f993f-4d0b-4c4a-a08b-dfa9e1d1376e
ms: 2003
>>
Background:
4324
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
4325
* def mystorage = Java.type('storage.DataStorage')
3
4326
* def db = new mystorage
1
4327
* def db = db.setfeature(karate.info.featureFileName)
1
4328
* def separator = java.lang.System.getProperty("file.separator")
1
4329
* def outputpath = db.outputpath()
1
4330
* eval db.ensureDirectory(outputpath)
1
4331
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4332
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4333
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4334
Given path 'geonetwork/srv/dut/inspire'
1
4335
And param service = 'CSW'
0
4336
And param version = '2.0.2'
0
4337
And param request = 'GetRecordById'
0
4338
And param id = '578f993f-4d0b-4c4a-a08b-dfa9e1d1376e'
0
4339
And param elementsetname = 'full'
0
4340
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4341
When method get
1993
4342
Then status 200
0
4343
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '578f993f-4d0b-4c4a-a08b-dfa9e1d1376e'
1
4344
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4345
* def title = get response //citation/CI_Citation/title/CharacterString
0
4346
* def email = get response //electronicMailAddress/CharacterString
0
4347
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4348
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4349
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4350
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4351
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4352
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4353
* print organisationpath
0
06:39:50.207 [print] Beheer PDOK
4354
* print operateson
0
06:39:50.207 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=710c381c-ab2d-45d5-a45d-af2eba811e5f#MD_DataIdentification
4355
* eval db.writeln('"578f993f-4d0b-4c4a-a08b-dfa9e1d1376e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
4356
* eval db.writeln('"578f993f-4d0b-4c4a-a08b-dfa9e1d1376e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.133:18]d981070b-888c-42d5-85ff-1e383f3d7fce
ms: 1854
>>
Background:
4357
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
4358
* def mystorage = Java.type('storage.DataStorage')
3
4359
* def db = new mystorage
1
4360
* def db = db.setfeature(karate.info.featureFileName)
1
4361
* def separator = java.lang.System.getProperty("file.separator")
1
4362
* def outputpath = db.outputpath()
1
4363
* eval db.ensureDirectory(outputpath)
1
4364
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4365
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4366
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4367
Given path 'geonetwork/srv/dut/inspire'
1
4368
And param service = 'CSW'
0
4369
And param version = '2.0.2'
0
4370
And param request = 'GetRecordById'
0
4371
And param id = 'd981070b-888c-42d5-85ff-1e383f3d7fce'
0
4372
And param elementsetname = 'full'
0
4373
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4374
When method get
1839
4375
Then status 200
0
4376
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd981070b-888c-42d5-85ff-1e383f3d7fce'
4
4377
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4378
* def title = get response //citation/CI_Citation/title/CharacterString
0
4379
* def email = get response //electronicMailAddress/CharacterString
0
4380
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4381
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4382
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4383
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4384
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4385
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4386
* print organisationpath
0
06:39:50.084 [print] Beheer PDOK
4387
* print operateson
0
06:39:50.084 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=d845cef6-0e23-4212-a951-b69763e39ef0#MD_DataIdentification
4388
* eval db.writeln('"d981070b-888c-42d5-85ff-1e383f3d7fce","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
4389
* eval db.writeln('"d981070b-888c-42d5-85ff-1e383f3d7fce","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
5
Scenario Outline: [1.134:18]b0119753-5625-4500-9df3-13823ff9868f
ms: 2088
>>
Background:
4390
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
4391
* def mystorage = Java.type('storage.DataStorage')
3
4392
* def db = new mystorage
1
4393
* def db = db.setfeature(karate.info.featureFileName)
1
4394
* def separator = java.lang.System.getProperty("file.separator")
1
4395
* def outputpath = db.outputpath()
1
4396
* eval db.ensureDirectory(outputpath)
1
4397
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4398
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4399
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4400
Given path 'geonetwork/srv/dut/inspire'
1
4401
And param service = 'CSW'
0
4402
And param version = '2.0.2'
0
4403
And param request = 'GetRecordById'
0
4404
And param id = 'b0119753-5625-4500-9df3-13823ff9868f'
1
4405
And param elementsetname = 'full'
0
4406
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4407
When method get
2067
4408
Then status 200
0
4409
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b0119753-5625-4500-9df3-13823ff9868f'
2
4410
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
2
4411
* def title = get response //citation/CI_Citation/title/CharacterString
2
4412
* def email = get response //electronicMailAddress/CharacterString
2
4413
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
2
4414
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
4415
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
4416
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
4417
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
4418
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
2
4419
* print organisationpath
0
06:39:50.478 [print] Beheer PDOK
4420
* print operateson
0
06:39:50.478 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=977e0e94-7aa9-4784-b2da-eaec44adb61b#MD_DataIdentification
4421
* eval db.writeln('"b0119753-5625-4500-9df3-13823ff9868f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
4422
* eval db.writeln('"b0119753-5625-4500-9df3-13823ff9868f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.135:18]9c80458b-12c6-4d38-8f6d-387ab6e4ed21
ms: 1859
>>
Background:
4423
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
4424
* def mystorage = Java.type('storage.DataStorage')
3
4425
* def db = new mystorage
1
4426
* def db = db.setfeature(karate.info.featureFileName)
1
4427
* def separator = java.lang.System.getProperty("file.separator")
1
4428
* def outputpath = db.outputpath()
1
4429
* eval db.ensureDirectory(outputpath)
1
4430
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4431
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4432
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4433
Given path 'geonetwork/srv/dut/inspire'
1
4434
And param service = 'CSW'
0
4435
And param version = '2.0.2'
0
4436
And param request = 'GetRecordById'
0
4437
And param id = '9c80458b-12c6-4d38-8f6d-387ab6e4ed21'
0
4438
And param elementsetname = 'full'
0
4439
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4440
When method get
1845
4441
Then status 200
0
4442
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9c80458b-12c6-4d38-8f6d-387ab6e4ed21'
1
4443
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4444
* def title = get response //citation/CI_Citation/title/CharacterString
0
4445
* def email = get response //electronicMailAddress/CharacterString
1
4446
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4447
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4448
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4449
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4450
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4451
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
4452
* print organisationpath
0
06:39:50.283 [print] Beheer PDOK
4453
* print operateson
0
06:39:50.283 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=8829e5dd-c861-4639-a6c8-fdbb6e3440d2#MD_DataIdentification
4454
* eval db.writeln('"9c80458b-12c6-4d38-8f6d-387ab6e4ed21","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
3
4455
* eval db.writeln('"9c80458b-12c6-4d38-8f6d-387ab6e4ed21","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.136:18]7b4a0b26-5885-45cd-a99d-27887cff68e5
ms: 2089
>>
Background:
4456
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
4457
* def mystorage = Java.type('storage.DataStorage')
3
4458
* def db = new mystorage
1
4459
* def db = db.setfeature(karate.info.featureFileName)
1
4460
* def separator = java.lang.System.getProperty("file.separator")
1
4461
* def outputpath = db.outputpath()
1
4462
* eval db.ensureDirectory(outputpath)
1
4463
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4464
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4465
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4466
Given path 'geonetwork/srv/dut/inspire'
1
4467
And param service = 'CSW'
0
4468
And param version = '2.0.2'
0
4469
And param request = 'GetRecordById'
0
4470
And param id = '7b4a0b26-5885-45cd-a99d-27887cff68e5'
1
4471
And param elementsetname = 'full'
0
4472
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4473
When method get
2074
4474
Then status 200
0
4475
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7b4a0b26-5885-45cd-a99d-27887cff68e5'
1
4476
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4477
* def title = get response //citation/CI_Citation/title/CharacterString
0
4478
* def email = get response //electronicMailAddress/CharacterString
0
4479
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4480
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4481
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4482
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4483
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4484
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4485
* print organisationpath
0
06:39:50.556 [print] TNO Geologische Dienst Nederland
4486
* print operateson
0
06:39:50.557 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=a7fb2234-f7b4-4a03-b282-f10947f42fb1&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
4487
* eval db.writeln('"7b4a0b26-5885-45cd-a99d-27887cff68e5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
4488
* eval db.writeln('"7b4a0b26-5885-45cd-a99d-27887cff68e5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
7
Scenario Outline: [1.137:18]ceda1b88-32ac-40b2-a841-71eb041c9427
ms: 1881
>>
Background:
4489
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
4490
* def mystorage = Java.type('storage.DataStorage')
3
4491
* def db = new mystorage
1
4492
* def db = db.setfeature(karate.info.featureFileName)
1
4493
* def separator = java.lang.System.getProperty("file.separator")
1
4494
* def outputpath = db.outputpath()
1
4495
* eval db.ensureDirectory(outputpath)
1
4496
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4497
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4498
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4499
Given path 'geonetwork/srv/dut/inspire'
1
4500
And param service = 'CSW'
0
4501
And param version = '2.0.2'
0
4502
And param request = 'GetRecordById'
0
4503
And param id = 'ceda1b88-32ac-40b2-a841-71eb041c9427'
0
4504
And param elementsetname = 'full'
0
4505
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4506
When method get
1869
4507
Then status 200
0
4508
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ceda1b88-32ac-40b2-a841-71eb041c9427'
2
4509
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4510
* def title = get response //citation/CI_Citation/title/CharacterString
1
4511
* def email = get response //electronicMailAddress/CharacterString
1
4512
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4513
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4514
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4515
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4516
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4517
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
4518
* print organisationpath
0
06:39:50.437 [print] Beheer PDOK
4519
* print operateson
0
06:39:50.437 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=11d83e36-fd0d-46bc-838c-0567c5dfdb19#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=34dacd72-d2fb-4e28-844d-73d3b9c3fef2#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=419b85e5-04ee-4cc9-b910-bc58594a943a#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=119f7512-a71e-4d1a-82e7-7a2b63f9338b#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=6ea55ec4-f312-40ef-9935-68806e61b496#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=af784610-df36-4d40-bac0-23d8e728999f#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=24eb504e-f5f3-4ecf-b760-cc5630e82a57#MD_DataIdentification" ]
4520
* eval db.writeln('"ceda1b88-32ac-40b2-a841-71eb041c9427","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
4521
* eval db.writeln('"ceda1b88-32ac-40b2-a841-71eb041c9427","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.138:18]35359958-c40a-486f-9cf5-567a94de905e
ms: 1980
>>
Background:
4522
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
4523
* def mystorage = Java.type('storage.DataStorage')
3
4524
* def db = new mystorage
1
4525
* def db = db.setfeature(karate.info.featureFileName)
1
4526
* def separator = java.lang.System.getProperty("file.separator")
1
4527
* def outputpath = db.outputpath()
1
4528
* eval db.ensureDirectory(outputpath)
1
4529
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4530
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4531
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4532
Given path 'geonetwork/srv/dut/inspire'
1
4533
And param service = 'CSW'
0
4534
And param version = '2.0.2'
0
4535
And param request = 'GetRecordById'
0
4536
And param id = '35359958-c40a-486f-9cf5-567a94de905e'
1
4537
And param elementsetname = 'full'
0
4538
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4539
When method get
1959
4540
Then status 200
0
4541
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '35359958-c40a-486f-9cf5-567a94de905e'
1
4542
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4543
* def title = get response //citation/CI_Citation/title/CharacterString
1
4544
* def email = get response //electronicMailAddress/CharacterString
1
4545
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4546
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
7
4547
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
3
4548
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4549
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4550
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4551
* print organisationpath
0
06:39:50.562 [print] Beheer PDOK
4552
* print operateson
0
06:39:50.562 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=c5c4a6d6-b850-473c-8ab5-af9c2c550809#MD_DataIdentification
4553
* eval db.writeln('"35359958-c40a-486f-9cf5-567a94de905e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
4554
* eval db.writeln('"35359958-c40a-486f-9cf5-567a94de905e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.139:18]d69fee4a-e3ff-47d4-919d-e55276a3fad9
ms: 1819
>>
Background:
4555
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
4556
* def mystorage = Java.type('storage.DataStorage')
3
4557
* def db = new mystorage
1
4558
* def db = db.setfeature(karate.info.featureFileName)
1
4559
* def separator = java.lang.System.getProperty("file.separator")
1
4560
* def outputpath = db.outputpath()
1
4561
* eval db.ensureDirectory(outputpath)
1
4562
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4563
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4564
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4565
Given path 'geonetwork/srv/dut/inspire'
1
4566
And param service = 'CSW'
0
4567
And param version = '2.0.2'
0
4568
And param request = 'GetRecordById'
0
4569
And param id = 'd69fee4a-e3ff-47d4-919d-e55276a3fad9'
1
4570
And param elementsetname = 'full'
0
4571
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4572
When method get
1808
4573
Then status 200
0
4574
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd69fee4a-e3ff-47d4-919d-e55276a3fad9'
1
4575
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4576
* def title = get response //citation/CI_Citation/title/CharacterString
0
4577
* def email = get response //electronicMailAddress/CharacterString
0
4578
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4579
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4580
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4581
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4582
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4583
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4584
* print organisationpath
0
06:39:50.629 [print] Beheer PDOK
4585
* print operateson
0
06:39:50.630 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=31de946d-85d4-4c93-bb97-e25f4ef1401a#MD_DataIdentification
4586
* eval db.writeln('"d69fee4a-e3ff-47d4-919d-e55276a3fad9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
4587
* eval db.writeln('"d69fee4a-e3ff-47d4-919d-e55276a3fad9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.140:18]abf1f9f0-1b85-40e8-86ec-86bee6003b4e
ms: 1941
>>
Background:
4588
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
4589
* def mystorage = Java.type('storage.DataStorage')
3
4590
* def db = new mystorage
1
4591
* def db = db.setfeature(karate.info.featureFileName)
1
4592
* def separator = java.lang.System.getProperty("file.separator")
1
4593
* def outputpath = db.outputpath()
1
4594
* eval db.ensureDirectory(outputpath)
1
4595
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4596
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4597
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4598
Given path 'geonetwork/srv/dut/inspire'
0
4599
And param service = 'CSW'
0
4600
And param version = '2.0.2'
0
4601
And param request = 'GetRecordById'
0
4602
And param id = 'abf1f9f0-1b85-40e8-86ec-86bee6003b4e'
0
4603
And param elementsetname = 'full'
0
4604
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4605
When method get
1926
4606
Then status 200
0
4607
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'abf1f9f0-1b85-40e8-86ec-86bee6003b4e'
2
4608
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4609
* def title = get response //citation/CI_Citation/title/CharacterString
1
4610
* def email = get response //electronicMailAddress/CharacterString
1
4611
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4612
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
4613
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
4614
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
4615
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
4616
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
4617
* print organisationpath
0
06:39:50.769 [print] Beheer PDOK
4618
* print operateson
0
06:39:50.769 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=1462bbce-ccd3-4362-83d8-4535ca8f44eb#MD_DataIdentification
4619
* eval db.writeln('"abf1f9f0-1b85-40e8-86ec-86bee6003b4e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
4620
* eval db.writeln('"abf1f9f0-1b85-40e8-86ec-86bee6003b4e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.141:18]3d01c1ca-973c-4652-baa5-39458bb9e181
ms: 1737
>>
Background:
4621
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
4622
* def mystorage = Java.type('storage.DataStorage')
3
4623
* def db = new mystorage
1
4624
* def db = db.setfeature(karate.info.featureFileName)
1
4625
* def separator = java.lang.System.getProperty("file.separator")
1
4626
* def outputpath = db.outputpath()
1
4627
* eval db.ensureDirectory(outputpath)
1
4628
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4629
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4630
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4631
Given path 'geonetwork/srv/dut/inspire'
1
4632
And param service = 'CSW'
0
4633
And param version = '2.0.2'
0
4634
And param request = 'GetRecordById'
0
4635
And param id = '3d01c1ca-973c-4652-baa5-39458bb9e181'
0
4636
And param elementsetname = 'full'
0
4637
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4638
When method get
1724
4639
Then status 200
0
4640
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3d01c1ca-973c-4652-baa5-39458bb9e181'
1
4641
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4642
* def title = get response //citation/CI_Citation/title/CharacterString
0
4643
* def email = get response //electronicMailAddress/CharacterString
0
4644
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4645
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4646
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4647
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4648
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4649
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4650
* print organisationpath
0
06:39:50.716 [print] Beheer PDOK
4651
* print operateson
0
06:39:50.716 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=fe0e1e5f-512f-4bb1-bbf8-4028d3dfa24f#MD_DataIdentification
4652
* eval db.writeln('"3d01c1ca-973c-4652-baa5-39458bb9e181","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
4653
* eval db.writeln('"3d01c1ca-973c-4652-baa5-39458bb9e181","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
5
Scenario Outline: [1.142:18]af4841b5-ce83-4edb-af41-429a21140316
ms: 1793
>>
Background:
4654
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
4655
* def mystorage = Java.type('storage.DataStorage')
3
4656
* def db = new mystorage
1
4657
* def db = db.setfeature(karate.info.featureFileName)
1
4658
* def separator = java.lang.System.getProperty("file.separator")
1
4659
* def outputpath = db.outputpath()
1
4660
* eval db.ensureDirectory(outputpath)
1
4661
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4662
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4663
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4664
Given path 'geonetwork/srv/dut/inspire'
1
4665
And param service = 'CSW'
0
4666
And param version = '2.0.2'
0
4667
And param request = 'GetRecordById'
0
4668
And param id = 'af4841b5-ce83-4edb-af41-429a21140316'
0
4669
And param elementsetname = 'full'
0
4670
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4671
When method get
1768
4672
Then status 200
0
4673
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'af4841b5-ce83-4edb-af41-429a21140316'
3
4674
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
2
4675
* def title = get response //citation/CI_Citation/title/CharacterString
2
4676
* def email = get response //electronicMailAddress/CharacterString
2
4677
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
2
4678
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
4679
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
4680
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
4681
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
4682
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
2
4683
* print organisationpath
0
06:39:50.817 [print] Beheer PDOK
4684
* print operateson
0
06:39:50.817 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=977e0e94-7aa9-4784-b2da-eaec44adb61b#MD_DataIdentification
4685
* eval db.writeln('"af4841b5-ce83-4edb-af41-429a21140316","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
4686
* eval db.writeln('"af4841b5-ce83-4edb-af41-429a21140316","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.143:18]42f5363b-cea7-4163-a4e9-bc2d1a7a243c
ms: 1661
>>
Background:
4687
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
4688
* def mystorage = Java.type('storage.DataStorage')
3
4689
* def db = new mystorage
1
4690
* def db = db.setfeature(karate.info.featureFileName)
1
4691
* def separator = java.lang.System.getProperty("file.separator")
1
4692
* def outputpath = db.outputpath()
1
4693
* eval db.ensureDirectory(outputpath)
1
4694
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4695
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4696
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4697
Given path 'geonetwork/srv/dut/inspire'
1
4698
And param service = 'CSW'
0
4699
And param version = '2.0.2'
0
4700
And param request = 'GetRecordById'
0
4701
And param id = '42f5363b-cea7-4163-a4e9-bc2d1a7a243c'
1
4702
And param elementsetname = 'full'
0
4703
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4704
When method get
1646
4705
Then status 200
0
4706
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '42f5363b-cea7-4163-a4e9-bc2d1a7a243c'
2
4707
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4708
* def title = get response //citation/CI_Citation/title/CharacterString
0
4709
* def email = get response //electronicMailAddress/CharacterString
0
4710
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4711
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4712
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4713
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4714
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
4715
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4716
* print organisationpath
0
06:39:50.824 [print] Beheer PDOK
4717
* print operateson
0
06:39:50.824 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=002d9127-c16d-4b8d-9f5e-102a8c8e36c4#MD_DataIdentification
4718
* eval db.writeln('"42f5363b-cea7-4163-a4e9-bc2d1a7a243c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
4719
* eval db.writeln('"42f5363b-cea7-4163-a4e9-bc2d1a7a243c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
6
Scenario Outline: [1.144:18]dda53ebc-bee7-4765-8f1f-6ac59b0aec39
ms: 1741
>>
Background:
4720
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
4721
* def mystorage = Java.type('storage.DataStorage')
3
4722
* def db = new mystorage
1
4723
* def db = db.setfeature(karate.info.featureFileName)
1
4724
* def separator = java.lang.System.getProperty("file.separator")
1
4725
* def outputpath = db.outputpath()
1
4726
* eval db.ensureDirectory(outputpath)
1
4727
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4728
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4729
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4730
Given path 'geonetwork/srv/dut/inspire'
1
4731
And param service = 'CSW'
0
4732
And param version = '2.0.2'
0
4733
And param request = 'GetRecordById'
0
4734
And param id = 'dda53ebc-bee7-4765-8f1f-6ac59b0aec39'
1
4735
And param elementsetname = 'full'
0
4736
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4737
When method get
1732
4738
Then status 200
0
4739
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'dda53ebc-bee7-4765-8f1f-6ac59b0aec39'
1
4740
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4741
* def title = get response //citation/CI_Citation/title/CharacterString
0
4742
* def email = get response //electronicMailAddress/CharacterString
0
4743
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4744
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4745
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4746
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4747
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4748
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4749
* print organisationpath
0
06:39:50.968 [print] TNO Geologische Dienst Nederland
4750
* print operateson
0
06:39:50.968 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=9dd9bf30-36e6-45ae-b368-bdef2720bdde&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
4751
* eval db.writeln('"dda53ebc-bee7-4765-8f1f-6ac59b0aec39","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
4752
* eval db.writeln('"dda53ebc-bee7-4765-8f1f-6ac59b0aec39","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.145:18]1c9b43c3-064d-40c3-aa7c-879b7376ef6f
ms: 1864
>>
Background:
4753
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
4754
* def mystorage = Java.type('storage.DataStorage')
3
4755
* def db = new mystorage
1
4756
* def db = db.setfeature(karate.info.featureFileName)
1
4757
* def separator = java.lang.System.getProperty("file.separator")
1
4758
* def outputpath = db.outputpath()
1
4759
* eval db.ensureDirectory(outputpath)
1
4760
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4761
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4762
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4763
Given path 'geonetwork/srv/dut/inspire'
0
4764
And param service = 'CSW'
0
4765
And param version = '2.0.2'
0
4766
And param request = 'GetRecordById'
0
4767
And param id = '1c9b43c3-064d-40c3-aa7c-879b7376ef6f'
0
4768
And param elementsetname = 'full'
0
4769
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4770
When method get
1849
4771
Then status 200
0
4772
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1c9b43c3-064d-40c3-aa7c-879b7376ef6f'
2
4773
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4774
* def title = get response //citation/CI_Citation/title/CharacterString
0
4775
* def email = get response //electronicMailAddress/CharacterString
0
4776
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4777
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4778
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4779
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4780
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4781
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4782
* print organisationpath
0
06:39:51.097 [print] Beheer PDOK
4783
* print operateson
0
06:39:51.097 [print] https://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=dc5b522e-3e14-4738-9e8e-2401e1b19ef2#MD_DataIdentification
4784
* eval db.writeln('"1c9b43c3-064d-40c3-aa7c-879b7376ef6f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
6
4785
* eval db.writeln('"1c9b43c3-064d-40c3-aa7c-879b7376ef6f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.146:18]18e052b6-dce6-11e3-9e6e-901b0e19e163
ms: 1783
>>
Background:
4786
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
4787
* def mystorage = Java.type('storage.DataStorage')
3
4788
* def db = new mystorage
1
4789
* def db = db.setfeature(karate.info.featureFileName)
1
4790
* def separator = java.lang.System.getProperty("file.separator")
1
4791
* def outputpath = db.outputpath()
1
4792
* eval db.ensureDirectory(outputpath)
1
4793
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4794
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4795
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4796
Given path 'geonetwork/srv/dut/inspire'
0
4797
And param service = 'CSW'
0
4798
And param version = '2.0.2'
0
4799
And param request = 'GetRecordById'
0
4800
And param id = '18e052b6-dce6-11e3-9e6e-901b0e19e163'
0
4801
And param elementsetname = 'full'
0
4802
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4803
When method get
1773
4804
Then status 200
0
4805
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '18e052b6-dce6-11e3-9e6e-901b0e19e163'
1
4806
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4807
* def title = get response //citation/CI_Citation/title/CharacterString
0
4808
* def email = get response //electronicMailAddress/CharacterString
0
4809
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4810
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4811
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4812
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4813
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4814
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4815
* print organisationpath
0
06:39:51.032 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI)
4816
* print operateson
0
06:39:51.032 [print] [ "http://data.knmi.nl/inspire/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=b59f06c0-dce5-11e3-9c10-901b0e19e163&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full", "http://data.knmi.nl/inspire/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=64c987ec-dce6-11e3-8563-901b0e19e163&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full", "http://data.knmi.nl/inspire/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=daa63e4c-dce6-11e3-991e-901b0e19e163&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full", "http://data.knmi.nl/inspire/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=380aa01e-dce7-11e3-9f07-901b0e19e163&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full" ]
4817
* eval db.writeln('"18e052b6-dce6-11e3-9e6e-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
4818
* eval db.writeln('"18e052b6-dce6-11e3-9e6e-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.147:18]7a914681-61bd-4f67-902b-45037a00c469
ms: 1872
>>
Background:
4819
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
4820
* def mystorage = Java.type('storage.DataStorage')
3
4821
* def db = new mystorage
1
4822
* def db = db.setfeature(karate.info.featureFileName)
1
4823
* def separator = java.lang.System.getProperty("file.separator")
1
4824
* def outputpath = db.outputpath()
1
4825
* eval db.ensureDirectory(outputpath)
1
4826
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4827
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4828
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4829
Given path 'geonetwork/srv/dut/inspire'
1
4830
And param service = 'CSW'
0
4831
And param version = '2.0.2'
0
4832
And param request = 'GetRecordById'
0
4833
And param id = '7a914681-61bd-4f67-902b-45037a00c469'
1
4834
And param elementsetname = 'full'
0
4835
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4836
When method get
1861
4837
Then status 200
0
4838
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7a914681-61bd-4f67-902b-45037a00c469'
1
4839
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4840
* def title = get response //citation/CI_Citation/title/CharacterString
1
4841
* def email = get response //electronicMailAddress/CharacterString
1
4842
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4843
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4844
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4845
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4846
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4847
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
4848
* print organisationpath
0
06:39:51.174 [print]
4849
* print operateson
0
06:39:51.174 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=7939fd42-cf88-42c5-ab3b-232cf232a3ac#MD_DataIdentification
4850
* eval db.writeln('"7a914681-61bd-4f67-902b-45037a00c469","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
4851
* eval db.writeln('"7a914681-61bd-4f67-902b-45037a00c469","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.148:18]4074b3c3-ca85-45ad-bc0d-b5fca8540c0a
ms: 1695
>>
Background:
4852
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
4853
* def mystorage = Java.type('storage.DataStorage')
3
4854
* def db = new mystorage
1
4855
* def db = db.setfeature(karate.info.featureFileName)
1
4856
* def separator = java.lang.System.getProperty("file.separator")
1
4857
* def outputpath = db.outputpath()
1
4858
* eval db.ensureDirectory(outputpath)
1
4859
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4860
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4861
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4862
Given path 'geonetwork/srv/dut/inspire'
1
4863
And param service = 'CSW'
0
4864
And param version = '2.0.2'
0
4865
And param request = 'GetRecordById'
0
4866
And param id = '4074b3c3-ca85-45ad-bc0d-b5fca8540c0a'
0
4867
And param elementsetname = 'full'
0
4868
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4869
When method get
1684
4870
Then status 200
0
4871
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4074b3c3-ca85-45ad-bc0d-b5fca8540c0a'
1
4872
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4873
* def title = get response //citation/CI_Citation/title/CharacterString
0
4874
* def email = get response //electronicMailAddress/CharacterString
0
4875
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4876
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4877
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4878
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
4879
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
4880
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
4881
* print organisationpath
0
06:39:51.215 [print] Beheer PDOK
4882
* print operateson
0
06:39:51.215 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=831f7bd7-c2ae-4336-bd2f-47ab20d7cdb7#MD_DataIdentification
4883
* eval db.writeln('"4074b3c3-ca85-45ad-bc0d-b5fca8540c0a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
4884
* eval db.writeln('"4074b3c3-ca85-45ad-bc0d-b5fca8540c0a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.149:18]d415c10a-8dbf-4c01-8061-4689e5db38ac
ms: 1774
>>
Background:
4885
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
4886
* def mystorage = Java.type('storage.DataStorage')
3
4887
* def db = new mystorage
1
4888
* def db = db.setfeature(karate.info.featureFileName)
1
4889
* def separator = java.lang.System.getProperty("file.separator")
1
4890
* def outputpath = db.outputpath()
1
4891
* eval db.ensureDirectory(outputpath)
1
4892
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4893
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4894
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4895
Given path 'geonetwork/srv/dut/inspire'
0
4896
And param service = 'CSW'
0
4897
And param version = '2.0.2'
0
4898
And param request = 'GetRecordById'
0
4899
And param id = 'd415c10a-8dbf-4c01-8061-4689e5db38ac'
0
4900
And param elementsetname = 'full'
0
4901
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4902
When method get
1764
4903
Then status 200
0
4904
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd415c10a-8dbf-4c01-8061-4689e5db38ac'
1
4905
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4906
* def title = get response //citation/CI_Citation/title/CharacterString
1
4907
* def email = get response //electronicMailAddress/CharacterString
1
4908
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4909
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4910
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4911
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4912
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4913
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
4914
* print organisationpath
0
06:39:51.309 [print] Beheer PDOK
4915
* print operateson
0
06:39:51.309 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=2220c0dd-3720-4e39-a130-171531c1e694#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=78d31ab4-4116-45b7-bcf5-e14960916b0f#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=b250f3a4-ed78-4c85-8cd5-f1af43841c6d#MD_DataIdentification" ]
4916
* eval db.writeln('"d415c10a-8dbf-4c01-8061-4689e5db38ac","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
4917
* eval db.writeln('"d415c10a-8dbf-4c01-8061-4689e5db38ac","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.150:18]2ca26f5e-0b39-48a4-9e8d-7b9ffde9a5b0
ms: 1636
>>
Background:
4918
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
4919
* def mystorage = Java.type('storage.DataStorage')
3
4920
* def db = new mystorage
1
4921
* def db = db.setfeature(karate.info.featureFileName)
1
4922
* def separator = java.lang.System.getProperty("file.separator")
1
4923
* def outputpath = db.outputpath()
1
4924
* eval db.ensureDirectory(outputpath)
1
4925
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4926
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4927
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4928
Given path 'geonetwork/srv/dut/inspire'
1
4929
And param service = 'CSW'
0
4930
And param version = '2.0.2'
0
4931
And param request = 'GetRecordById'
0
4932
And param id = '2ca26f5e-0b39-48a4-9e8d-7b9ffde9a5b0'
1
4933
And param elementsetname = 'full'
0
4934
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4935
When method get
1627
4936
Then status 200
0
4937
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2ca26f5e-0b39-48a4-9e8d-7b9ffde9a5b0'
1
4938
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4939
* def title = get response //citation/CI_Citation/title/CharacterString
0
4940
* def email = get response //electronicMailAddress/CharacterString
0
4941
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4942
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4943
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4944
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4945
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4946
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4947
* print organisationpath
0
06:39:51.271 [print] Beheer PDOK
4948
* print operateson
0
06:39:51.271 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=ror-9d8e-4758-83fx-28b057f185g1#MD_DataIdentification
4949
* eval db.writeln('"2ca26f5e-0b39-48a4-9e8d-7b9ffde9a5b0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
4950
* eval db.writeln('"2ca26f5e-0b39-48a4-9e8d-7b9ffde9a5b0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.151:18]9940c446-6fd4-4ab3-a4de-7d0ee028a8d1
ms: 1665
>>
Background:
4951
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
4952
* def mystorage = Java.type('storage.DataStorage')
3
4953
* def db = new mystorage
1
4954
* def db = db.setfeature(karate.info.featureFileName)
1
4955
* def separator = java.lang.System.getProperty("file.separator")
1
4956
* def outputpath = db.outputpath()
1
4957
* eval db.ensureDirectory(outputpath)
1
4958
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4959
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4960
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4961
Given path 'geonetwork/srv/dut/inspire'
1
4962
And param service = 'CSW'
0
4963
And param version = '2.0.2'
0
4964
And param request = 'GetRecordById'
0
4965
And param id = '9940c446-6fd4-4ab3-a4de-7d0ee028a8d1'
1
4966
And param elementsetname = 'full'
0
4967
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4968
When method get
1652
4969
Then status 200
0
4970
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9940c446-6fd4-4ab3-a4de-7d0ee028a8d1'
1
4971
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4972
* def title = get response //citation/CI_Citation/title/CharacterString
1
4973
* def email = get response //electronicMailAddress/CharacterString
1
4974
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4975
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4976
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4977
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4978
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4979
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
4980
* print organisationpath
0
06:39:51.410 [print] Beheer PDOK
4981
* print operateson
0
06:39:51.410 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=2220c0dd-3720-4e39-a130-171531c1e694#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=78d31ab4-4116-45b7-bcf5-e14960916b0f#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=b250f3a4-ed78-4c85-8cd5-f1af43841c6d#MD_DataIdentification" ]
4982
* eval db.writeln('"9940c446-6fd4-4ab3-a4de-7d0ee028a8d1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
3
4983
* eval db.writeln('"9940c446-6fd4-4ab3-a4de-7d0ee028a8d1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.152:18]3d759186-7cee-4218-aa44-165f3922fbbb
ms: 1575
>>
Background:
4984
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
4985
* def mystorage = Java.type('storage.DataStorage')
3
4986
* def db = new mystorage
1
4987
* def db = db.setfeature(karate.info.featureFileName)
1
4988
* def separator = java.lang.System.getProperty("file.separator")
1
4989
* def outputpath = db.outputpath()
1
4990
* eval db.ensureDirectory(outputpath)
1
4991
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4992
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4993
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4994
Given path 'geonetwork/srv/dut/inspire'
1
4995
And param service = 'CSW'
0
4996
And param version = '2.0.2'
0
4997
And param request = 'GetRecordById'
0
4998
And param id = '3d759186-7cee-4218-aa44-165f3922fbbb'
0
4999
And param elementsetname = 'full'
0
5000
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5001
When method get
1566
5002
Then status 200
0
5003
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3d759186-7cee-4218-aa44-165f3922fbbb'
1
5004
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5005
* def title = get response //citation/CI_Citation/title/CharacterString
0
5006
* def email = get response //electronicMailAddress/CharacterString
0
5007
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5008
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5009
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5010
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5011
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5012
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5013
* print organisationpath
0
06:39:51.539 [print] Beheer PDOK
5014
* print operateson
0
06:39:51.539 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=5951efa2-1ff3-4763-a966-a2f5497679ee#MD_DataIdentification
5015
* eval db.writeln('"3d759186-7cee-4218-aa44-165f3922fbbb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
5016
* eval db.writeln('"3d759186-7cee-4218-aa44-165f3922fbbb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.153:18]2f12ef7d-3eb4-46a9-8b45-702a0f054d57
ms: 1531
>>
Background:
5017
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
5018
* def mystorage = Java.type('storage.DataStorage')
3
5019
* def db = new mystorage
1
5020
* def db = db.setfeature(karate.info.featureFileName)
1
5021
* def separator = java.lang.System.getProperty("file.separator")
1
5022
* def outputpath = db.outputpath()
1
5023
* eval db.ensureDirectory(outputpath)
1
5024
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5025
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5026
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5027
Given path 'geonetwork/srv/dut/inspire'
0
5028
And param service = 'CSW'
0
5029
And param version = '2.0.2'
0
5030
And param request = 'GetRecordById'
0
5031
And param id = '2f12ef7d-3eb4-46a9-8b45-702a0f054d57'
1
5032
And param elementsetname = 'full'
0
5033
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5034
When method get
1521
5035
Then status 200
0
5036
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2f12ef7d-3eb4-46a9-8b45-702a0f054d57'
1
5037
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5038
* def title = get response //citation/CI_Citation/title/CharacterString
1
5039
* def email = get response //electronicMailAddress/CharacterString
1
5040
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5041
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5042
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5043
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5044
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5045
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
5046
* print organisationpath
0
06:39:51.521 [print] Beheer PDOK
5047
* print operateson
0
06:39:51.521 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=791adbe3-772f-42cb-a3be-5a617bcecef0#MD_DataIdentification
5048
* eval db.writeln('"2f12ef7d-3eb4-46a9-8b45-702a0f054d57","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
5049
* eval db.writeln('"2f12ef7d-3eb4-46a9-8b45-702a0f054d57","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.154:18]3094a1c4-3dd6-4e8e-9929-4a63dd66992e
ms: 1516
>>
Background:
5050
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
5051
* def mystorage = Java.type('storage.DataStorage')
3
5052
* def db = new mystorage
1
5053
* def db = db.setfeature(karate.info.featureFileName)
1
5054
* def separator = java.lang.System.getProperty("file.separator")
1
5055
* def outputpath = db.outputpath()
1
5056
* eval db.ensureDirectory(outputpath)
1
5057
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5058
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5059
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5060
Given path 'geonetwork/srv/dut/inspire'
1
5061
And param service = 'CSW'
0
5062
And param version = '2.0.2'
0
5063
And param request = 'GetRecordById'
0
5064
And param id = '3094a1c4-3dd6-4e8e-9929-4a63dd66992e'
0
5065
And param elementsetname = 'full'
0
5066
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5067
When method get
1504
5068
Then status 200
0
5069
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3094a1c4-3dd6-4e8e-9929-4a63dd66992e'
1
5070
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5071
* def title = get response //citation/CI_Citation/title/CharacterString
0
5072
* def email = get response //electronicMailAddress/CharacterString
0
5073
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5074
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5075
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5076
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5077
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5078
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5079
* print organisationpath
1
06:39:51.599 [print] Interprovinciaal Overleg
5080
* print operateson
0
06:39:51.599 [print] [ "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=8e986f37-74d7-4b6c-8026-87c960456423&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=afc450bd-65b3-4e59-b0fb-619869bf6ada&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification" ]
5081
* eval db.writeln('"3094a1c4-3dd6-4e8e-9929-4a63dd66992e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
5082
* eval db.writeln('"3094a1c4-3dd6-4e8e-9929-4a63dd66992e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.155:18]9c4862c3-0bab-49c3-bc2f-ac5486826766
ms: 1549
>>
Background:
5083
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
5084
* def mystorage = Java.type('storage.DataStorage')
3
5085
* def db = new mystorage
1
5086
* def db = db.setfeature(karate.info.featureFileName)
1
5087
* def separator = java.lang.System.getProperty("file.separator")
1
5088
* def outputpath = db.outputpath()
1
5089
* eval db.ensureDirectory(outputpath)
1
5090
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5091
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5092
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5093
Given path 'geonetwork/srv/dut/inspire'
0
5094
And param service = 'CSW'
0
5095
And param version = '2.0.2'
0
5096
And param request = 'GetRecordById'
0
5097
And param id = '9c4862c3-0bab-49c3-bc2f-ac5486826766'
0
5098
And param elementsetname = 'full'
0
5099
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5100
When method get
1519
5101
Then status 200
0
5102
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9c4862c3-0bab-49c3-bc2f-ac5486826766'
3
5103
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
3
5104
* def title = get response //citation/CI_Citation/title/CharacterString
3
5105
* def email = get response //electronicMailAddress/CharacterString
3
5106
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
3
5107
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
2
5108
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
2
5109
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
2
5110
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
2
5111
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
3
5112
* print organisationpath
0
06:39:51.637 [print] Beheer PDOK
5113
* print operateson
0
06:39:51.637 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=28c4780a-1a44-4376-b283-14a50a481729#MD_DataIdentification
5114
* eval db.writeln('"9c4862c3-0bab-49c3-bc2f-ac5486826766","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
5115
* eval db.writeln('"9c4862c3-0bab-49c3-bc2f-ac5486826766","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.156:18]fff9d7cf-9929-4dde-98b8-06ceda7e5610
ms: 1586
>>
Background:
5116
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
5117
* def mystorage = Java.type('storage.DataStorage')
3
5118
* def db = new mystorage
1
5119
* def db = db.setfeature(karate.info.featureFileName)
1
5120
* def separator = java.lang.System.getProperty("file.separator")
1
5121
* def outputpath = db.outputpath()
1
5122
* eval db.ensureDirectory(outputpath)
1
5123
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5124
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5125
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5126
Given path 'geonetwork/srv/dut/inspire'
1
5127
And param service = 'CSW'
0
5128
And param version = '2.0.2'
0
5129
And param request = 'GetRecordById'
0
5130
And param id = 'fff9d7cf-9929-4dde-98b8-06ceda7e5610'
0
5131
And param elementsetname = 'full'
0
5132
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5133
When method get
1575
5134
Then status 200
0
5135
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'fff9d7cf-9929-4dde-98b8-06ceda7e5610'
1
5136
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5137
* def title = get response //citation/CI_Citation/title/CharacterString
0
5138
* def email = get response //electronicMailAddress/CharacterString
0
5139
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5140
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5141
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5142
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5143
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5144
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5145
* print organisationpath
1
06:39:51.737 [print] Beheer PDOK
5146
* print operateson
0
06:39:51.737 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=7939fd42-cf88-42c5-ab3b-232cf232a3ac#MD_DataIdentification
5147
* eval db.writeln('"fff9d7cf-9929-4dde-98b8-06ceda7e5610","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
5148
* eval db.writeln('"fff9d7cf-9929-4dde-98b8-06ceda7e5610","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.157:18]a299a4af-ccd8-4d32-b1fb-ffab77b32e0e
ms: 1598
>>
Background:
5149
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
5150
* def mystorage = Java.type('storage.DataStorage')
3
5151
* def db = new mystorage
1
5152
* def db = db.setfeature(karate.info.featureFileName)
1
5153
* def separator = java.lang.System.getProperty("file.separator")
1
5154
* def outputpath = db.outputpath()
1
5155
* eval db.ensureDirectory(outputpath)
1
5156
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5157
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5158
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5159
Given path 'geonetwork/srv/dut/inspire'
3
5160
And param service = 'CSW'
0
5161
And param version = '2.0.2'
0
5162
And param request = 'GetRecordById'
0
5163
And param id = 'a299a4af-ccd8-4d32-b1fb-ffab77b32e0e'
1
5164
And param elementsetname = 'full'
0
5165
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5166
When method get
1579
5167
Then status 200
0
5168
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a299a4af-ccd8-4d32-b1fb-ffab77b32e0e'
1
5169
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5170
* def title = get response //citation/CI_Citation/title/CharacterString
0
5171
* def email = get response //electronicMailAddress/CharacterString
0
5172
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
5173
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5174
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5175
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5176
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5177
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5178
* print organisationpath
0
06:39:51.799 [print] TNO Geologische Dienst Nederland
5179
* print operateson
5
06:39:51.804 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=f99e915a-75e5-4c36-97f2-61eff692d85b&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
5180
* eval db.writeln('"a299a4af-ccd8-4d32-b1fb-ffab77b32e0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
5181
* eval db.writeln('"a299a4af-ccd8-4d32-b1fb-ffab77b32e0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.158:18]018a28a5-1019-4747-b031-f66ffc1c6ae7
ms: 1524
>>
Background:
5182
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
5183
* def mystorage = Java.type('storage.DataStorage')
3
5184
* def db = new mystorage
1
5185
* def db = db.setfeature(karate.info.featureFileName)
1
5186
* def separator = java.lang.System.getProperty("file.separator")
1
5187
* def outputpath = db.outputpath()
1
5188
* eval db.ensureDirectory(outputpath)
1
5189
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5190
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5191
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5192
Given path 'geonetwork/srv/dut/inspire'
1
5193
And param service = 'CSW'
0
5194
And param version = '2.0.2'
0
5195
And param request = 'GetRecordById'
0
5196
And param id = '018a28a5-1019-4747-b031-f66ffc1c6ae7'
0
5197
And param elementsetname = 'full'
0
5198
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5199
When method get
1509
5200
Then status 200
0
5201
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '018a28a5-1019-4747-b031-f66ffc1c6ae7'
1
5202
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5203
* def title = get response //citation/CI_Citation/title/CharacterString
1
5204
* def email = get response //electronicMailAddress/CharacterString
1
5205
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5206
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5207
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5208
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
2
5209
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
2
5210
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
5211
* print organisationpath
0
06:39:51.808 [print] Beheer PDOK
5212
* print operateson
0
06:39:51.809 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=eu-cb527d-f6db-4835-b0cd-deb245241254#MD_DataIdentification
5213
* eval db.writeln('"018a28a5-1019-4747-b031-f66ffc1c6ae7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
4
5214
* eval db.writeln('"018a28a5-1019-4747-b031-f66ffc1c6ae7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.159:18]7ab53b91-9df1-4c39-ba0e-06ec80ce512b
ms: 1405
>>
Background:
5215
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
5216
* def mystorage = Java.type('storage.DataStorage')
3
5217
* def db = new mystorage
1
5218
* def db = db.setfeature(karate.info.featureFileName)
1
5219
* def separator = java.lang.System.getProperty("file.separator")
1
5220
* def outputpath = db.outputpath()
1
5221
* eval db.ensureDirectory(outputpath)
1
5222
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5223
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5224
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5225
Given path 'geonetwork/srv/dut/inspire'
0
5226
And param service = 'CSW'
0
5227
And param version = '2.0.2'
0
5228
And param request = 'GetRecordById'
0
5229
And param id = '7ab53b91-9df1-4c39-ba0e-06ec80ce512b'
0
5230
And param elementsetname = 'full'
0
5231
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5232
When method get
1395
5233
Then status 200
0
5234
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7ab53b91-9df1-4c39-ba0e-06ec80ce512b'
1
5235
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5236
* def title = get response //citation/CI_Citation/title/CharacterString
0
5237
* def email = get response //electronicMailAddress/CharacterString
0
5238
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5239
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5240
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5241
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5242
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5243
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5244
* print organisationpath
0
06:39:51.843 [print] Beheer PDOK
5245
* print operateson
0
06:39:51.843 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3387ef8a-9237-453a-aa4e-585d1e193550#MD_DataIdentification
5246
* eval db.writeln('"7ab53b91-9df1-4c39-ba0e-06ec80ce512b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
5247
* eval db.writeln('"7ab53b91-9df1-4c39-ba0e-06ec80ce512b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.160:18]68d14b1c-71ad-4ce7-8267-45787a80c2d4
ms: 1538
>>
Background:
5248
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
5249
* def mystorage = Java.type('storage.DataStorage')
3
5250
* def db = new mystorage
1
5251
* def db = db.setfeature(karate.info.featureFileName)
1
5252
* def separator = java.lang.System.getProperty("file.separator")
1
5253
* def outputpath = db.outputpath()
1
5254
* eval db.ensureDirectory(outputpath)
1
5255
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5256
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5257
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5258
Given path 'geonetwork/srv/dut/inspire'
1
5259
And param service = 'CSW'
0
5260
And param version = '2.0.2'
0
5261
And param request = 'GetRecordById'
0
5262
And param id = '68d14b1c-71ad-4ce7-8267-45787a80c2d4'
0
5263
And param elementsetname = 'full'
0
5264
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5265
When method get
1525
5266
Then status 200
0
5267
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '68d14b1c-71ad-4ce7-8267-45787a80c2d4'
1
5268
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5269
* def title = get response //citation/CI_Citation/title/CharacterString
1
5270
* def email = get response //electronicMailAddress/CharacterString
1
5271
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5272
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5273
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5274
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5275
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5276
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
5277
* print organisationpath
0
06:39:52.015 [print] Beheer PDOK
5278
* print operateson
0
06:39:52.015 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a5f961e9-ebdd-41e2-b8e8-ab33ed340a83#MD_DataIdentification
5279
* eval db.writeln('"68d14b1c-71ad-4ce7-8267-45787a80c2d4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
5280
* eval db.writeln('"68d14b1c-71ad-4ce7-8267-45787a80c2d4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.161:18]40f04047-3b61-40eb-b026-c1a0caa71881
ms: 1528
>>
Background:
5281
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
5282
* def mystorage = Java.type('storage.DataStorage')
3
5283
* def db = new mystorage
1
5284
* def db = db.setfeature(karate.info.featureFileName)
1
5285
* def separator = java.lang.System.getProperty("file.separator")
1
5286
* def outputpath = db.outputpath()
1
5287
* eval db.ensureDirectory(outputpath)
1
5288
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5289
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5290
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5291
Given path 'geonetwork/srv/dut/inspire'
1
5292
And param service = 'CSW'
0
5293
And param version = '2.0.2'
0
5294
And param request = 'GetRecordById'
0
5295
And param id = '40f04047-3b61-40eb-b026-c1a0caa71881'
0
5296
And param elementsetname = 'full'
0
5297
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5298
When method get
1490
5299
Then status 200
0
5300
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '40f04047-3b61-40eb-b026-c1a0caa71881'
2
5301
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5302
* def title = get response //citation/CI_Citation/title/CharacterString
1
5303
* def email = get response //electronicMailAddress/CharacterString
1
5304
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5305
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
5306
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
5307
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
5308
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
5309
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
5310
* print organisationpath
0
06:39:52.064 [print] Beheer PDOK
5311
* print operateson
0
06:39:52.064 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=11d83e36-fd0d-46bc-838c-0567c5dfdb19#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=34dacd72-d2fb-4e28-844d-73d3b9c3fef2#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=419b85e5-04ee-4cc9-b910-bc58594a943a#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=119f7512-a71e-4d1a-82e7-7a2b63f9338b#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=6ea55ec4-f312-40ef-9935-68806e61b496#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=af784610-df36-4d40-bac0-23d8e728999f#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=24eb504e-f5f3-4ecf-b760-cc5630e82a57#MD_DataIdentification" ]
5312
* eval db.writeln('"40f04047-3b61-40eb-b026-c1a0caa71881","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
16
5313
* eval db.writeln('"40f04047-3b61-40eb-b026-c1a0caa71881","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
14
Scenario Outline: [1.162:18]060d1139-c371-4c1e-9890-55999adfa4f9
ms: 1561
>>
Background:
5314
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
5315
* def mystorage = Java.type('storage.DataStorage')
3
5316
* def db = new mystorage
1
5317
* def db = db.setfeature(karate.info.featureFileName)
1
5318
* def separator = java.lang.System.getProperty("file.separator")
1
5319
* def outputpath = db.outputpath()
1
5320
* eval db.ensureDirectory(outputpath)
1
5321
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5322
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5323
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5324
Given path 'geonetwork/srv/dut/inspire'
0
5325
And param service = 'CSW'
0
5326
And param version = '2.0.2'
1
5327
And param request = 'GetRecordById'
0
5328
And param id = '060d1139-c371-4c1e-9890-55999adfa4f9'
1
5329
And param elementsetname = 'full'
0
5330
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5331
When method get
1513
5332
Then status 200
0
5333
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '060d1139-c371-4c1e-9890-55999adfa4f9'
13
5334
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5335
* def title = get response //citation/CI_Citation/title/CharacterString
0
5336
* def email = get response //electronicMailAddress/CharacterString
0
5337
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
5338
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5339
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5340
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
9
5341
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
17
5342
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5343
* print organisationpath
0
06:39:52.124 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
5344
* print operateson
0
06:39:52.124 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=a5241416-8401-4623-be61-57ef50447a41&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
5345
* eval db.writeln('"060d1139-c371-4c1e-9890-55999adfa4f9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
5346
* eval db.writeln('"060d1139-c371-4c1e-9890-55999adfa4f9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.163:18]42da491e-d8b9-47ba-af65-acb15ea8a055
ms: 1498
>>
Background:
5347
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
5348
* def mystorage = Java.type('storage.DataStorage')
3
5349
* def db = new mystorage
1
5350
* def db = db.setfeature(karate.info.featureFileName)
1
5351
* def separator = java.lang.System.getProperty("file.separator")
1
5352
* def outputpath = db.outputpath()
1
5353
* eval db.ensureDirectory(outputpath)
1
5354
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5355
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5356
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5357
Given path 'geonetwork/srv/dut/inspire'
1
5358
And param service = 'CSW'
0
5359
And param version = '2.0.2'
0
5360
And param request = 'GetRecordById'
0
5361
And param id = '42da491e-d8b9-47ba-af65-acb15ea8a055'
0
5362
And param elementsetname = 'full'
0
5363
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5364
When method get
1451
5365
Then status 200
0
5366
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '42da491e-d8b9-47ba-af65-acb15ea8a055'
8
5367
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5368
* def title = get response //citation/CI_Citation/title/CharacterString
0
5369
* def email = get response //electronicMailAddress/CharacterString
0
5370
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
4
5371
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5372
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5373
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5374
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5375
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5376
* print organisationpath
0
06:39:52.100 [print]
5377
* print operateson
0
06:39:52.101 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=24de356e-ec4d-4a18-9903-6401d222b77c&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
5378
* eval db.writeln('"42da491e-d8b9-47ba-af65-acb15ea8a055","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
5379
* eval db.writeln('"42da491e-d8b9-47ba-af65-acb15ea8a055","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
30
Scenario Outline: [1.164:18]bfcc588f-9393-4c70-b989-d9e92ac2f493
ms: 1460
>>
Background:
5380
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
5381
* def mystorage = Java.type('storage.DataStorage')
3
5382
* def db = new mystorage
1
5383
* def db = db.setfeature(karate.info.featureFileName)
1
5384
* def separator = java.lang.System.getProperty("file.separator")
1
5385
* def outputpath = db.outputpath()
1
5386
* eval db.ensureDirectory(outputpath)
1
5387
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5388
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5389
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5390
Given path 'geonetwork/srv/dut/inspire'
1
5391
And param service = 'CSW'
0
5392
And param version = '2.0.2'
0
5393
And param request = 'GetRecordById'
0
5394
And param id = 'bfcc588f-9393-4c70-b989-d9e92ac2f493'
1
5395
And param elementsetname = 'full'
0
5396
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5397
When method get
1426
5398
Then status 200
0
5399
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'bfcc588f-9393-4c70-b989-d9e92ac2f493'
1
5400
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5401
* def title = get response //citation/CI_Citation/title/CharacterString
1
5402
* def email = get response //electronicMailAddress/CharacterString
1
5403
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5404
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5405
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5406
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5407
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
5
5408
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
5409
* print organisationpath
0
06:39:52.161 [print] Beheer PDOK
5410
* print operateson
0
06:39:52.161 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=41daef8b-155e-4608-b49c-c87ea45d931c#MD_DataIdentification
5411
* eval db.writeln('"bfcc588f-9393-4c70-b989-d9e92ac2f493","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
11
5412
* eval db.writeln('"bfcc588f-9393-4c70-b989-d9e92ac2f493","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
11
Scenario Outline: [1.165:18]6d23a02b-5a8a-447e-a481-ddb2a085c1fa
ms: 1507
>>
Background:
5413
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
5414
* def mystorage = Java.type('storage.DataStorage')
3
5415
* def db = new mystorage
1
5416
* def db = db.setfeature(karate.info.featureFileName)
1
5417
* def separator = java.lang.System.getProperty("file.separator")
1
5418
* def outputpath = db.outputpath()
1
5419
* eval db.ensureDirectory(outputpath)
1
5420
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5421
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5422
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5423
Given path 'geonetwork/srv/dut/inspire'
0
5424
And param service = 'CSW'
0
5425
And param version = '2.0.2'
0
5426
And param request = 'GetRecordById'
0
5427
And param id = '6d23a02b-5a8a-447e-a481-ddb2a085c1fa'
0
5428
And param elementsetname = 'full'
0
5429
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5430
When method get
1485
5431
Then status 200
0
5432
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6d23a02b-5a8a-447e-a481-ddb2a085c1fa'
1
5433
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5434
* def title = get response //citation/CI_Citation/title/CharacterString
0
5435
* def email = get response //electronicMailAddress/CharacterString
0
5436
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5437
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5438
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5439
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5440
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5441
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5442
* print organisationpath
0
06:39:52.264 [print] Beheer PDOK
5443
* print operateson
0
06:39:52.264 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3373be8c-8539-4763-bc22-eba23ac1898f#MD_DataIdentification
5444
* eval db.writeln('"6d23a02b-5a8a-447e-a481-ddb2a085c1fa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
12
5445
* eval db.writeln('"6d23a02b-5a8a-447e-a481-ddb2a085c1fa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.166:18]a035801a-3256-4a36-9f81-02421aacee17
ms: 1527
>>
Background:
5446
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
5447
* def mystorage = Java.type('storage.DataStorage')
3
5448
* def db = new mystorage
1
5449
* def db = db.setfeature(karate.info.featureFileName)
1
5450
* def separator = java.lang.System.getProperty("file.separator")
1
5451
* def outputpath = db.outputpath()
1
5452
* eval db.ensureDirectory(outputpath)
1
5453
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5454
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5455
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5456
Given path 'geonetwork/srv/dut/inspire'
0
5457
And param service = 'CSW'
0
5458
And param version = '2.0.2'
0
5459
And param request = 'GetRecordById'
0
5460
And param id = 'a035801a-3256-4a36-9f81-02421aacee17'
0
5461
And param elementsetname = 'full'
0
5462
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5463
When method get
1517
5464
Then status 200
0
5465
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a035801a-3256-4a36-9f81-02421aacee17'
1
5466
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5467
* def title = get response //citation/CI_Citation/title/CharacterString
1
5468
* def email = get response //electronicMailAddress/CharacterString
0
5469
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5470
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5471
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5472
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5473
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5474
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
5475
* print organisationpath
0
06:39:52.345 [print] Beheer PDOK
5476
* print operateson
0
06:39:52.345 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=ffefc3dc-dc8f-4589-ae22-a60bebcdf5cb#MD_DataIdentification
5477
* eval db.writeln('"a035801a-3256-4a36-9f81-02421aacee17","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
5478
* eval db.writeln('"a035801a-3256-4a36-9f81-02421aacee17","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.167:18]37e05521-c323-4dbe-aba4-de1178ba44a5
ms: 1771
>>
Background:
5479
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
5480
* def mystorage = Java.type('storage.DataStorage')
3
5481
* def db = new mystorage
1
5482
* def db = db.setfeature(karate.info.featureFileName)
1
5483
* def separator = java.lang.System.getProperty("file.separator")
1
5484
* def outputpath = db.outputpath()
1
5485
* eval db.ensureDirectory(outputpath)
1
5486
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5487
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5488
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5489
Given path 'geonetwork/srv/dut/inspire'
0
5490
And param service = 'CSW'
0
5491
And param version = '2.0.2'
0
5492
And param request = 'GetRecordById'
0
5493
And param id = '37e05521-c323-4dbe-aba4-de1178ba44a5'
0
5494
And param elementsetname = 'full'
0
5495
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5496
When method get
1711
5497
Then status 200
0
5498
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '37e05521-c323-4dbe-aba4-de1178ba44a5'
6
5499
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
7
5500
* def title = get response //citation/CI_Citation/title/CharacterString
6
5501
* def email = get response //electronicMailAddress/CharacterString
6
5502
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
7
5503
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
4
5504
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
4
5505
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
4
5506
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
4
5507
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
6
5508
* print organisationpath
0
06:39:52.599 [print] Beheer PDOK
5509
* print operateson
0
06:39:52.599 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=fcefa13c-44e2-4953-b6d6-1ddceebc57fc#MD_DataIdentification
5510
* eval db.writeln('"37e05521-c323-4dbe-aba4-de1178ba44a5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
5511
* eval db.writeln('"37e05521-c323-4dbe-aba4-de1178ba44a5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.168:18]4b6752ae-65d6-44b5-98ef-1fc30f4fd92d
ms: 1516
>>
Background:
5512
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
5513
* def mystorage = Java.type('storage.DataStorage')
3
5514
* def db = new mystorage
1
5515
* def db = db.setfeature(karate.info.featureFileName)
1
5516
* def separator = java.lang.System.getProperty("file.separator")
1
5517
* def outputpath = db.outputpath()
1
5518
* eval db.ensureDirectory(outputpath)
1
5519
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5520
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5521
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5522
Given path 'geonetwork/srv/dut/inspire'
0
5523
And param service = 'CSW'
0
5524
And param version = '2.0.2'
0
5525
And param request = 'GetRecordById'
0
5526
And param id = '4b6752ae-65d6-44b5-98ef-1fc30f4fd92d'
0
5527
And param elementsetname = 'full'
0
5528
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5529
When method get
1504
5530
Then status 200
0
5531
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4b6752ae-65d6-44b5-98ef-1fc30f4fd92d'
1
5532
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5533
* def title = get response //citation/CI_Citation/title/CharacterString
1
5534
* def email = get response //electronicMailAddress/CharacterString
1
5535
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
2
5536
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
5537
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5538
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5539
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5540
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
5541
* print organisationpath
0
06:39:52.485 [print] Beheer PDOK
5542
* print operateson
0
06:39:52.485 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=50eef6be-619d-4e16-9b92-48971109b636#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=8de2f5eb-b09f-4f6d-8397-8878a1b86238#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9b583730-e750-485a-9c0c-39bf9be72cf8#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a57cb859-c4fe-444c-adc6-be14cb2bbf36#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9b583730-e750-485a-9c0c-39bf9be72cf9#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a57cb859-c4fe-444c-adc6-be14cb2bbf38#MD_DataIdentification" ]
5543
* eval db.writeln('"4b6752ae-65d6-44b5-98ef-1fc30f4fd92d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
5544
* eval db.writeln('"4b6752ae-65d6-44b5-98ef-1fc30f4fd92d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.169:18]a2724dae-ebad-4a07-9405-49bddfde3368
ms: 1513
>>
Background:
5545
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
5546
* def mystorage = Java.type('storage.DataStorage')
3
5547
* def db = new mystorage
1
5548
* def db = db.setfeature(karate.info.featureFileName)
1
5549
* def separator = java.lang.System.getProperty("file.separator")
1
5550
* def outputpath = db.outputpath()
1
5551
* eval db.ensureDirectory(outputpath)
1
5552
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5553
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5554
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5555
Given path 'geonetwork/srv/dut/inspire'
1
5556
And param service = 'CSW'
0
5557
And param version = '2.0.2'
0
5558
And param request = 'GetRecordById'
0
5559
And param id = 'a2724dae-ebad-4a07-9405-49bddfde3368'
0
5560
And param elementsetname = 'full'
0
5561
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5562
When method get
1497
5563
Then status 200
0
5564
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a2724dae-ebad-4a07-9405-49bddfde3368'
1
5565
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5566
* def title = get response //citation/CI_Citation/title/CharacterString
0
5567
* def email = get response //electronicMailAddress/CharacterString
0
5568
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5569
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5570
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5571
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5572
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5573
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
5574
* print organisationpath
0
06:39:52.540 [print] Beheer PDOK
5575
* print operateson
0
06:39:52.540 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=5996e444-f7f3-40d2-b485-8b9af6e8aa89#MD_DataIdentification
5576
* eval db.writeln('"a2724dae-ebad-4a07-9405-49bddfde3368","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
5577
* eval db.writeln('"a2724dae-ebad-4a07-9405-49bddfde3368","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
8
Scenario Outline: [1.170:18]e75b66ae-21b1-4303-aeb3-787608707b23
ms: 1530
>>
Background:
5578
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
5579
* def mystorage = Java.type('storage.DataStorage')
3
5580
* def db = new mystorage
1
5581
* def db = db.setfeature(karate.info.featureFileName)
1
5582
* def separator = java.lang.System.getProperty("file.separator")
1
5583
* def outputpath = db.outputpath()
1
5584
* eval db.ensureDirectory(outputpath)
1
5585
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5586
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5587
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5588
Given path 'geonetwork/srv/dut/inspire'
0
5589
And param service = 'CSW'
0
5590
And param version = '2.0.2'
0
5591
And param request = 'GetRecordById'
0
5592
And param id = 'e75b66ae-21b1-4303-aeb3-787608707b23'
0
5593
And param elementsetname = 'full'
0
5594
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5595
When method get
1520
5596
Then status 200
0
5597
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e75b66ae-21b1-4303-aeb3-787608707b23'
1
5598
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5599
* def title = get response //citation/CI_Citation/title/CharacterString
0
5600
* def email = get response //electronicMailAddress/CharacterString
0
5601
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5602
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5603
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5604
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5605
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5606
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5607
* print organisationpath
0
06:39:52.632 [print] Beheer PDOK
5608
* print operateson
0
06:39:52.632 [print] https://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=6318009c-7b11-4ab9-9929-735584dfb692#MD_DataIdentification
5609
* eval db.writeln('"e75b66ae-21b1-4303-aeb3-787608707b23","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
5610
* eval db.writeln('"e75b66ae-21b1-4303-aeb3-787608707b23","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.171:18]f76bdce5-344e-415f-8f2c-972755e80b65
ms: 1554
>>
Background:
5611
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
5612
* def mystorage = Java.type('storage.DataStorage')
3
5613
* def db = new mystorage
1
5614
* def db = db.setfeature(karate.info.featureFileName)
1
5615
* def separator = java.lang.System.getProperty("file.separator")
1
5616
* def outputpath = db.outputpath()
1
5617
* eval db.ensureDirectory(outputpath)
1
5618
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5619
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5620
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5621
Given path 'geonetwork/srv/dut/inspire'
0
5622
And param service = 'CSW'
0
5623
And param version = '2.0.2'
0
5624
And param request = 'GetRecordById'
0
5625
And param id = 'f76bdce5-344e-415f-8f2c-972755e80b65'
1
5626
And param elementsetname = 'full'
0
5627
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5628
When method get
1544
5629
Then status 200
0
5630
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f76bdce5-344e-415f-8f2c-972755e80b65'
1
5631
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5632
* def title = get response //citation/CI_Citation/title/CharacterString
1
5633
* def email = get response //electronicMailAddress/CharacterString
0
5634
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
5635
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5636
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5637
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5638
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5639
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5640
* print organisationpath
0
06:39:52.729 [print] Beheer PDOK
5641
* print operateson
0
06:39:52.729 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=4783ea4f-6b8c-4600-8af0-516f3556cfe9#MD_DataIdentification
5642
* eval db.writeln('"f76bdce5-344e-415f-8f2c-972755e80b65","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
5643
* eval db.writeln('"f76bdce5-344e-415f-8f2c-972755e80b65","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.172:18]275b64ab-34c2-41f8-8904-97812c7f716e
ms: 1501
>>
Background:
5644
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
5645
* def mystorage = Java.type('storage.DataStorage')
3
5646
* def db = new mystorage
1
5647
* def db = db.setfeature(karate.info.featureFileName)
1
5648
* def separator = java.lang.System.getProperty("file.separator")
1
5649
* def outputpath = db.outputpath()
1
5650
* eval db.ensureDirectory(outputpath)
1
5651
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5652
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5653
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5654
Given path 'geonetwork/srv/dut/inspire'
0
5655
And param service = 'CSW'
0
5656
And param version = '2.0.2'
0
5657
And param request = 'GetRecordById'
0
5658
And param id = '275b64ab-34c2-41f8-8904-97812c7f716e'
0
5659
And param elementsetname = 'full'
0
5660
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5661
When method get
1490
5662
Then status 200
0
5663
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '275b64ab-34c2-41f8-8904-97812c7f716e'
2
5664
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5665
* def title = get response //citation/CI_Citation/title/CharacterString
0
5666
* def email = get response //electronicMailAddress/CharacterString
0
5667
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
5668
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5669
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5670
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5671
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5672
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
5673
* print organisationpath
0
06:39:52.717 [print] Beheer PDOK
5674
* print operateson
0
06:39:52.717 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=19165027-a13a-4c19-9013-ec1fd191019d#MD_DataIdentification
5675
* eval db.writeln('"275b64ab-34c2-41f8-8904-97812c7f716e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
5676
* eval db.writeln('"275b64ab-34c2-41f8-8904-97812c7f716e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.173:18]89b35a6c-c099-456b-8eaf-2b83c7a35c74
ms: 1645
>>
Background:
5677
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
5678
* def mystorage = Java.type('storage.DataStorage')
3
5679
* def db = new mystorage
1
5680
* def db = db.setfeature(karate.info.featureFileName)
1
5681
* def separator = java.lang.System.getProperty("file.separator")
1
5682
* def outputpath = db.outputpath()
1
5683
* eval db.ensureDirectory(outputpath)
1
5684
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5685
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5686
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5687
Given path 'geonetwork/srv/dut/inspire'
1
5688
And param service = 'CSW'
0
5689
And param version = '2.0.2'
0
5690
And param request = 'GetRecordById'
0
5691
And param id = '89b35a6c-c099-456b-8eaf-2b83c7a35c74'
0
5692
And param elementsetname = 'full'
0
5693
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5694
When method get
1634
5695
Then status 200
0
5696
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '89b35a6c-c099-456b-8eaf-2b83c7a35c74'
2
5697
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5698
* def title = get response //citation/CI_Citation/title/CharacterString
0
5699
* def email = get response //electronicMailAddress/CharacterString
0
5700
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5701
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5702
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
5703
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5704
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5705
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
5706
* print organisationpath
0
06:39:52.916 [print] Beheer PDOK
5707
* print operateson
0
06:39:52.916 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=247a1d15-0a67-40ce-85be-1403c08f15a8#MD_DataIdentification
5708
* eval db.writeln('"89b35a6c-c099-456b-8eaf-2b83c7a35c74","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
5709
* eval db.writeln('"89b35a6c-c099-456b-8eaf-2b83c7a35c74","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.174:18]8e7686c3-f75e-411f-866e-6985267b916b
ms: 1777
>>
Background:
5710
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
5711
* def mystorage = Java.type('storage.DataStorage')
3
5712
* def db = new mystorage
1
5713
* def db = db.setfeature(karate.info.featureFileName)
1
5714
* def separator = java.lang.System.getProperty("file.separator")
1
5715
* def outputpath = db.outputpath()
1
5716
* eval db.ensureDirectory(outputpath)
1
5717
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5718
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5719
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5720
Given path 'geonetwork/srv/dut/inspire'
0
5721
And param service = 'CSW'
0
5722
And param version = '2.0.2'
0
5723
And param request = 'GetRecordById'
0
5724
And param id = '8e7686c3-f75e-411f-866e-6985267b916b'
0
5725
And param elementsetname = 'full'
0
5726
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5727
When method get
1725
5728
Then status 200
0
5729
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '8e7686c3-f75e-411f-866e-6985267b916b'
5
5730
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
5
5731
* def title = get response //citation/CI_Citation/title/CharacterString
5
5732
* def email = get response //electronicMailAddress/CharacterString
5
5733
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
5
5734
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
3
5735
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
3
5736
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
6
5737
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
4
5738
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
5
5739
* print organisationpath
0
06:39:53.086 [print] Beheer PDOK
5740
* print operateson
0
06:39:53.086 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=cbeaebc3-815a-48af-a978-0e16892865fc#MD_DataIdentification
5741
* eval db.writeln('"8e7686c3-f75e-411f-866e-6985267b916b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
5742
* eval db.writeln('"8e7686c3-f75e-411f-866e-6985267b916b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.175:18]1bd24d1e-aa13-4395-809e-893570f7c651
ms: 1587
>>
Background:
5743
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
5744
* def mystorage = Java.type('storage.DataStorage')
3
5745
* def db = new mystorage
1
5746
* def db = db.setfeature(karate.info.featureFileName)
1
5747
* def separator = java.lang.System.getProperty("file.separator")
1
5748
* def outputpath = db.outputpath()
1
5749
* eval db.ensureDirectory(outputpath)
1
5750
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5751
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5752
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5753
Given path 'geonetwork/srv/dut/inspire'
0
5754
And param service = 'CSW'
0
5755
And param version = '2.0.2'
0
5756
And param request = 'GetRecordById'
0
5757
And param id = '1bd24d1e-aa13-4395-809e-893570f7c651'
0
5758
And param elementsetname = 'full'
0
5759
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5760
When method get
1577
5761
Then status 200
0
5762
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1bd24d1e-aa13-4395-809e-893570f7c651'
1
5763
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5764
* def title = get response //citation/CI_Citation/title/CharacterString
0
5765
* def email = get response //electronicMailAddress/CharacterString
0
5766
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5767
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5768
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5769
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5770
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5771
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5772
* print organisationpath
0
06:39:52.999 [print] Beheer PDOK
5773
* print operateson
0
06:39:52.999 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=c935f2ab-9b65-4dc4-94a0-73aeb840a941#MD_DataIdentification
5774
* eval db.writeln('"1bd24d1e-aa13-4395-809e-893570f7c651","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
5775
* eval db.writeln('"1bd24d1e-aa13-4395-809e-893570f7c651","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.176:18]b196f948-5d87-4eb4-9854-a93841c3877f
ms: 1622
>>
Background:
5776
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
5777
* def mystorage = Java.type('storage.DataStorage')
3
5778
* def db = new mystorage
1
5779
* def db = db.setfeature(karate.info.featureFileName)
1
5780
* def separator = java.lang.System.getProperty("file.separator")
1
5781
* def outputpath = db.outputpath()
1
5782
* eval db.ensureDirectory(outputpath)
1
5783
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5784
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5785
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5786
Given path 'geonetwork/srv/dut/inspire'
0
5787
And param service = 'CSW'
0
5788
And param version = '2.0.2'
0
5789
And param request = 'GetRecordById'
0
5790
And param id = 'b196f948-5d87-4eb4-9854-a93841c3877f'
0
5791
And param elementsetname = 'full'
0
5792
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5793
When method get
1601
5794
Then status 200
0
5795
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b196f948-5d87-4eb4-9854-a93841c3877f'
1
5796
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5797
* def title = get response //citation/CI_Citation/title/CharacterString
0
5798
* def email = get response //electronicMailAddress/CharacterString
0
5799
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5800
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5801
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5802
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5803
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5804
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5805
* print organisationpath
0
06:39:53.132 [print] Beheer PDOK
5806
* print operateson
0
06:39:53.132 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=3703b249-a0eb-484e-ba7a-10e31a55bcec#MD_DataIdentification
5807
* eval db.writeln('"b196f948-5d87-4eb4-9854-a93841c3877f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
5808
* eval db.writeln('"b196f948-5d87-4eb4-9854-a93841c3877f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
14
Scenario Outline: [1.177:18]6c62e0a5-c215-4e47-94b0-a239e264417d
ms: 1603
>>
Background:
5809
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
5810
* def mystorage = Java.type('storage.DataStorage')
3
5811
* def db = new mystorage
1
5812
* def db = db.setfeature(karate.info.featureFileName)
1
5813
* def separator = java.lang.System.getProperty("file.separator")
1
5814
* def outputpath = db.outputpath()
1
5815
* eval db.ensureDirectory(outputpath)
1
5816
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5817
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5818
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5819
Given path 'geonetwork/srv/dut/inspire'
0
5820
And param service = 'CSW'
0
5821
And param version = '2.0.2'
0
5822
And param request = 'GetRecordById'
0
5823
And param id = '6c62e0a5-c215-4e47-94b0-a239e264417d'
0
5824
And param elementsetname = 'full'
0
5825
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5826
When method get
1575
5827
Then status 200
0
5828
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6c62e0a5-c215-4e47-94b0-a239e264417d'
2
5829
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
2
5830
* def title = get response //citation/CI_Citation/title/CharacterString
2
5831
* def email = get response //electronicMailAddress/CharacterString
2
5832
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
2
5833
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
9
5834
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
3
5835
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
5836
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
5837
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
2
5838
* print organisationpath
0
06:39:53.142 [print] Beheer PDOK
5839
* print operateson
0
06:39:53.142 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=17716ed7-ce0d-4bfd-8868-a398e5578a36#MD_DataIdentification
5840
* eval db.writeln('"6c62e0a5-c215-4e47-94b0-a239e264417d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
5841
* eval db.writeln('"6c62e0a5-c215-4e47-94b0-a239e264417d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.178:18]c0a8e0ee-8639-44d4-be07-d7edf9c276c7
ms: 1640
>>
Background:
5842
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
5843
* def mystorage = Java.type('storage.DataStorage')
3
5844
* def db = new mystorage
1
5845
* def db = db.setfeature(karate.info.featureFileName)
1
5846
* def separator = java.lang.System.getProperty("file.separator")
1
5847
* def outputpath = db.outputpath()
1
5848
* eval db.ensureDirectory(outputpath)
1
5849
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5850
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5851
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5852
Given path 'geonetwork/srv/dut/inspire'
1
5853
And param service = 'CSW'
0
5854
And param version = '2.0.2'
0
5855
And param request = 'GetRecordById'
0
5856
And param id = 'c0a8e0ee-8639-44d4-be07-d7edf9c276c7'
0
5857
And param elementsetname = 'full'
0
5858
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5859
When method get
1622
5860
Then status 200
0
5861
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c0a8e0ee-8639-44d4-be07-d7edf9c276c7'
2
5862
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5863
* def title = get response //citation/CI_Citation/title/CharacterString
1
5864
* def email = get response //electronicMailAddress/CharacterString
0
5865
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5866
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5867
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
5
5868
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5869
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5870
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
5871
* print organisationpath
0
06:39:53.237 [print] Beheer PDOK
5872
* print operateson
0
06:39:53.237 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=14657c9b-91e4-4355-8563-2911ad0e78e4#MD_DataIdentification
5873
* eval db.writeln('"c0a8e0ee-8639-44d4-be07-d7edf9c276c7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
5
5874
* eval db.writeln('"c0a8e0ee-8639-44d4-be07-d7edf9c276c7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.179:18]6d23a02b-5a8a-447e-a481-ddb2a085c1fb
ms: 1732
>>
Background:
5875
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
5876
* def mystorage = Java.type('storage.DataStorage')
3
5877
* def db = new mystorage
1
5878
* def db = db.setfeature(karate.info.featureFileName)
1
5879
* def separator = java.lang.System.getProperty("file.separator")
1
5880
* def outputpath = db.outputpath()
1
5881
* eval db.ensureDirectory(outputpath)
1
5882
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5883
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5884
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5885
Given path 'geonetwork/srv/dut/inspire'
0
5886
And param service = 'CSW'
0
5887
And param version = '2.0.2'
0
5888
And param request = 'GetRecordById'
0
5889
And param id = '6d23a02b-5a8a-447e-a481-ddb2a085c1fb'
1
5890
And param elementsetname = 'full'
0
5891
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5892
When method get
1708
5893
Then status 200
0
5894
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6d23a02b-5a8a-447e-a481-ddb2a085c1fb'
8
5895
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5896
* def title = get response //citation/CI_Citation/title/CharacterString
0
5897
* def email = get response //electronicMailAddress/CharacterString
0
5898
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5899
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5900
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5901
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
9
5902
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5903
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5904
* print organisationpath
0
06:39:53.370 [print] Beheer PDOK
5905
* print operateson
0
06:39:53.370 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3373be8c-8539-4763-bc22-eba23ac1898f#MD_DataIdentification
5906
* eval db.writeln('"6d23a02b-5a8a-447e-a481-ddb2a085c1fb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
5907
* eval db.writeln('"6d23a02b-5a8a-447e-a481-ddb2a085c1fb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.180:18]e9ba7d7f-6cd1-4271-bce4-56432924b338
ms: 1499
>>
Background:
5908
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
5909
* def mystorage = Java.type('storage.DataStorage')
3
5910
* def db = new mystorage
1
5911
* def db = db.setfeature(karate.info.featureFileName)
1
5912
* def separator = java.lang.System.getProperty("file.separator")
1
5913
* def outputpath = db.outputpath()
1
5914
* eval db.ensureDirectory(outputpath)
1
5915
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5916
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5917
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5918
Given path 'geonetwork/srv/dut/inspire'
0
5919
And param service = 'CSW'
0
5920
And param version = '2.0.2'
0
5921
And param request = 'GetRecordById'
0
5922
And param id = 'e9ba7d7f-6cd1-4271-bce4-56432924b338'
1
5923
And param elementsetname = 'full'
0
5924
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5925
When method get
1490
5926
Then status 200
0
5927
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e9ba7d7f-6cd1-4271-bce4-56432924b338'
1
5928
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5929
* def title = get response //citation/CI_Citation/title/CharacterString
0
5930
* def email = get response //electronicMailAddress/CharacterString
0
5931
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
5932
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5933
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5934
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5935
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5936
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5937
* print organisationpath
0
06:39:53.237 [print] Beheer PDOK
5938
* print operateson
0
06:39:53.237 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a04afee4-47d5-45b7-b7a0-a6f86106af11#MD_DataIdentification
5939
* eval db.writeln('"e9ba7d7f-6cd1-4271-bce4-56432924b338","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
5940
* eval db.writeln('"e9ba7d7f-6cd1-4271-bce4-56432924b338","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.181:18]ca9f6d28-b548-41dc-a862-52daa86d1834
ms: 1589
>>
Background:
5941
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
5942
* def mystorage = Java.type('storage.DataStorage')
3
5943
* def db = new mystorage
1
5944
* def db = db.setfeature(karate.info.featureFileName)
1
5945
* def separator = java.lang.System.getProperty("file.separator")
1
5946
* def outputpath = db.outputpath()
1
5947
* eval db.ensureDirectory(outputpath)
1
5948
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5949
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5950
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5951
Given path 'geonetwork/srv/dut/inspire'
1
5952
And param service = 'CSW'
0
5953
And param version = '2.0.2'
0
5954
And param request = 'GetRecordById'
0
5955
And param id = 'ca9f6d28-b548-41dc-a862-52daa86d1834'
0
5956
And param elementsetname = 'full'
0
5957
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5958
When method get
1576
5959
Then status 200
0
5960
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ca9f6d28-b548-41dc-a862-52daa86d1834'
1
5961
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5962
* def title = get response //citation/CI_Citation/title/CharacterString
0
5963
* def email = get response //electronicMailAddress/CharacterString
0
5964
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5965
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5966
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5967
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5968
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5969
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5970
* print organisationpath
0
06:39:53.392 [print] Beheer PDOK
5971
* print operateson
0
06:39:53.393 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=26103042-50a1-4ee5-9c5b-857a2f8b7680#MD_DataIdentification
5972
* eval db.writeln('"ca9f6d28-b548-41dc-a862-52daa86d1834","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
5973
* eval db.writeln('"ca9f6d28-b548-41dc-a862-52daa86d1834","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
5
Scenario Outline: [1.182:18]9e2e977a-16a6-42a4-a208-c4f70704f383
ms: 1558
>>
Background:
5974
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
5975
* def mystorage = Java.type('storage.DataStorage')
3
5976
* def db = new mystorage
1
5977
* def db = db.setfeature(karate.info.featureFileName)
1
5978
* def separator = java.lang.System.getProperty("file.separator")
1
5979
* def outputpath = db.outputpath()
1
5980
* eval db.ensureDirectory(outputpath)
1
5981
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5982
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5983
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5984
Given path 'geonetwork/srv/dut/inspire'
0
5985
And param service = 'CSW'
0
5986
And param version = '2.0.2'
0
5987
And param request = 'GetRecordById'
0
5988
And param id = '9e2e977a-16a6-42a4-a208-c4f70704f383'
1
5989
And param elementsetname = 'full'
0
5990
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5991
When method get
1544
5992
Then status 200
0
5993
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9e2e977a-16a6-42a4-a208-c4f70704f383'
1
5994
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5995
* def title = get response //citation/CI_Citation/title/CharacterString
1
5996
* def email = get response //electronicMailAddress/CharacterString
1
5997
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
5
5998
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5999
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6000
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
6001
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6002
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
6003
* print organisationpath
0
06:39:53.372 [print] Beheer PDOK
6004
* print operateson
0
06:39:53.373 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=aa3b5e6e-7baa-40c0-8972-3353e927ec2f#MD_DataIdentification
6005
* eval db.writeln('"9e2e977a-16a6-42a4-a208-c4f70704f383","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
6006
* eval db.writeln('"9e2e977a-16a6-42a4-a208-c4f70704f383","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.183:18]1601e160-91e8-4091-9aca-10294f819d42
ms: 1669
>>
Background:
6007
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
6008
* def mystorage = Java.type('storage.DataStorage')
3
6009
* def db = new mystorage
1
6010
* def db = db.setfeature(karate.info.featureFileName)
1
6011
* def separator = java.lang.System.getProperty("file.separator")
1
6012
* def outputpath = db.outputpath()
1
6013
* eval db.ensureDirectory(outputpath)
1
6014
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6015
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6016
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6017
Given path 'geonetwork/srv/dut/inspire'
1
6018
And param service = 'CSW'
0
6019
And param version = '2.0.2'
0
6020
And param request = 'GetRecordById'
0
6021
And param id = '1601e160-91e8-4091-9aca-10294f819d42'
0
6022
And param elementsetname = 'full'
0
6023
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6024
When method get
1658
6025
Then status 200
0
6026
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1601e160-91e8-4091-9aca-10294f819d42'
1
6027
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6028
* def title = get response //citation/CI_Citation/title/CharacterString
0
6029
* def email = get response //electronicMailAddress/CharacterString
0
6030
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6031
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6032
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6033
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6034
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6035
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6036
* print organisationpath
0
06:39:53.512 [print] Beheer PDOK
6037
* print operateson
0
06:39:53.512 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=280ed37a-b8d2-4ac5-8567-04d84fad3a41#MD_DataIdentification
6038
* eval db.writeln('"1601e160-91e8-4091-9aca-10294f819d42","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
6039
* eval db.writeln('"1601e160-91e8-4091-9aca-10294f819d42","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.184:18]539ec652-482d-4806-a830-0458cf8be477
ms: 1357
>>
Background:
6040
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
6041
* def mystorage = Java.type('storage.DataStorage')
3
6042
* def db = new mystorage
1
6043
* def db = db.setfeature(karate.info.featureFileName)
1
6044
* def separator = java.lang.System.getProperty("file.separator")
1
6045
* def outputpath = db.outputpath()
1
6046
* eval db.ensureDirectory(outputpath)
1
6047
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6048
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6049
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6050
Given path 'geonetwork/srv/dut/inspire'
0
6051
And param service = 'CSW'
0
6052
And param version = '2.0.2'
0
6053
And param request = 'GetRecordById'
0
6054
And param id = '539ec652-482d-4806-a830-0458cf8be477'
1
6055
And param elementsetname = 'full'
0
6056
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6057
When method get
1263
6058
Then status 200
0
6059
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '539ec652-482d-4806-a830-0458cf8be477'
1
6060
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
66
6061
* def title = get response //citation/CI_Citation/title/CharacterString
0
6062
* def email = get response //electronicMailAddress/CharacterString
2
6063
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6064
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
8
6065
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6066
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6067
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6068
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6069
* print organisationpath
0
06:39:53.365 [print] Informatiehuis Water
6070
* print operateson
0
06:39:53.365 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=891ddc2d-8949-4a45-be96-c65b87c41f13&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full
6071
* eval db.writeln('"539ec652-482d-4806-a830-0458cf8be477","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
6072
* eval db.writeln('"539ec652-482d-4806-a830-0458cf8be477","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
11
Scenario Outline: [1.185:18]315a465b-e95d-46ea-9d97-8bbee81844cc
ms: 1524
>>
Background:
6073
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
6074
* def mystorage = Java.type('storage.DataStorage')
3
6075
* def db = new mystorage
1
6076
* def db = db.setfeature(karate.info.featureFileName)
1
6077
* def separator = java.lang.System.getProperty("file.separator")
1
6078
* def outputpath = db.outputpath()
1
6079
* eval db.ensureDirectory(outputpath)
1
6080
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6081
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6082
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6083
Given path 'geonetwork/srv/dut/inspire'
0
6084
And param service = 'CSW'
0
6085
And param version = '2.0.2'
0
6086
And param request = 'GetRecordById'
0
6087
And param id = '315a465b-e95d-46ea-9d97-8bbee81844cc'
0
6088
And param elementsetname = 'full'
0
6089
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6090
When method get
1514
6091
Then status 200
0
6092
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '315a465b-e95d-46ea-9d97-8bbee81844cc'
1
6093
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6094
* def title = get response //citation/CI_Citation/title/CharacterString
0
6095
* def email = get response //electronicMailAddress/CharacterString
0
6096
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6097
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6098
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6099
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6100
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6101
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6102
* print organisationpath
0
06:39:53.615 [print] Beheer PDOK
6103
* print operateson
0
06:39:53.615 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=14657c9b-91e4-4355-8563-2911ad0e78e4#MD_DataIdentification
6104
* eval db.writeln('"315a465b-e95d-46ea-9d97-8bbee81844cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
6105
* eval db.writeln('"315a465b-e95d-46ea-9d97-8bbee81844cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.186:18]a5437cb4-98ef-4c8e-a5ed-000e7a82b774
ms: 1563
>>
Background:
6106
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
6107
* def mystorage = Java.type('storage.DataStorage')
3
6108
* def db = new mystorage
1
6109
* def db = db.setfeature(karate.info.featureFileName)
1
6110
* def separator = java.lang.System.getProperty("file.separator")
1
6111
* def outputpath = db.outputpath()
1
6112
* eval db.ensureDirectory(outputpath)
1
6113
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6114
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6115
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6116
Given path 'geonetwork/srv/dut/inspire'
0
6117
And param service = 'CSW'
0
6118
And param version = '2.0.2'
0
6119
And param request = 'GetRecordById'
0
6120
And param id = 'a5437cb4-98ef-4c8e-a5ed-000e7a82b774'
0
6121
And param elementsetname = 'full'
0
6122
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6123
When method get
1553
6124
Then status 200
0
6125
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a5437cb4-98ef-4c8e-a5ed-000e7a82b774'
1
6126
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6127
* def title = get response //citation/CI_Citation/title/CharacterString
1
6128
* def email = get response //electronicMailAddress/CharacterString
1
6129
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6130
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6131
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6132
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6133
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6134
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
6135
* print organisationpath
0
06:39:53.689 [print]
6136
* print operateson
0
06:39:53.689 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=1462bbce-ccd3-4362-83d8-4535ca8f44eb#MD_DataIdentification
6137
* eval db.writeln('"a5437cb4-98ef-4c8e-a5ed-000e7a82b774","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
6138
* eval db.writeln('"a5437cb4-98ef-4c8e-a5ed-000e7a82b774","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.187:18]dcb7f0d7-d70b-4eab-9a46-7af98de860bd
ms: 1573
>>
Background:
6139
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
6140
* def mystorage = Java.type('storage.DataStorage')
3
6141
* def db = new mystorage
1
6142
* def db = db.setfeature(karate.info.featureFileName)
1
6143
* def separator = java.lang.System.getProperty("file.separator")
1
6144
* def outputpath = db.outputpath()
1
6145
* eval db.ensureDirectory(outputpath)
1
6146
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6147
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6148
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6149
Given path 'geonetwork/srv/dut/inspire'
0
6150
And param service = 'CSW'
0
6151
And param version = '2.0.2'
0
6152
And param request = 'GetRecordById'
0
6153
And param id = 'dcb7f0d7-d70b-4eab-9a46-7af98de860bd'
1
6154
And param elementsetname = 'full'
0
6155
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6156
When method get
1563
6157
Then status 200
0
6158
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'dcb7f0d7-d70b-4eab-9a46-7af98de860bd'
1
6159
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6160
* def title = get response //citation/CI_Citation/title/CharacterString
1
6161
* def email = get response //electronicMailAddress/CharacterString
1
6162
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6163
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6164
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6165
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6166
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6167
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
6168
* print organisationpath
0
06:39:53.702 [print] Beheer PDOK
6169
* print operateson
0
06:39:53.702 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=26103042-50a1-4ee5-9c5b-857a2f8b7680#MD_DataIdentification
6170
* eval db.writeln('"dcb7f0d7-d70b-4eab-9a46-7af98de860bd","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
6171
* eval db.writeln('"dcb7f0d7-d70b-4eab-9a46-7af98de860bd","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.188:18]cd370f58-0e54-48d6-b83b-ccd332bfb7c7
ms: 1851
>>
Background:
6172
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
6173
* def mystorage = Java.type('storage.DataStorage')
3
6174
* def db = new mystorage
1
6175
* def db = db.setfeature(karate.info.featureFileName)
1
6176
* def separator = java.lang.System.getProperty("file.separator")
1
6177
* def outputpath = db.outputpath()
1
6178
* eval db.ensureDirectory(outputpath)
1
6179
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6180
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6181
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6182
Given path 'geonetwork/srv/dut/inspire'
1
6183
And param service = 'CSW'
0
6184
And param version = '2.0.2'
0
6185
And param request = 'GetRecordById'
0
6186
And param id = 'cd370f58-0e54-48d6-b83b-ccd332bfb7c7'
0
6187
And param elementsetname = 'full'
7
6188
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
1
6189
When method get
1833
6190
Then status 200
0
6191
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'cd370f58-0e54-48d6-b83b-ccd332bfb7c7'
2
6192
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6193
* def title = get response //citation/CI_Citation/title/CharacterString
0
6194
* def email = get response //electronicMailAddress/CharacterString
0
6195
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6196
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6197
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6198
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6199
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6200
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6201
* print organisationpath
0
06:39:54.032 [print]
6202
* print operateson
0
06:39:54.032 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=ad6caa40-89ab-47e3-85ab-3f8e32024a71#MD_DataIdentification
6203
* eval db.writeln('"cd370f58-0e54-48d6-b83b-ccd332bfb7c7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
6204
* eval db.writeln('"cd370f58-0e54-48d6-b83b-ccd332bfb7c7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.189:18]ddf33bff-8de3-4cca-b6f5-24d18daa502f
ms: 1781
>>
Background:
6205
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
6206
* def mystorage = Java.type('storage.DataStorage')
3
6207
* def db = new mystorage
1
6208
* def db = db.setfeature(karate.info.featureFileName)
1
6209
* def separator = java.lang.System.getProperty("file.separator")
1
6210
* def outputpath = db.outputpath()
1
6211
* eval db.ensureDirectory(outputpath)
1
6212
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6213
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6214
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6215
Given path 'geonetwork/srv/dut/inspire'
0
6216
And param service = 'CSW'
0
6217
And param version = '2.0.2'
0
6218
And param request = 'GetRecordById'
0
6219
And param id = 'ddf33bff-8de3-4cca-b6f5-24d18daa502f'
1
6220
And param elementsetname = 'full'
0
6221
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6222
When method get
1771
6223
Then status 200
0
6224
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ddf33bff-8de3-4cca-b6f5-24d18daa502f'
1
6225
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6226
* def title = get response //citation/CI_Citation/title/CharacterString
0
6227
* def email = get response //electronicMailAddress/CharacterString
0
6228
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6229
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6230
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6231
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6232
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6233
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6234
* print organisationpath
0
06:39:54.057 [print] Beheer PDOK
6235
* print operateson
0
06:39:54.058 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=110f9ec6-4464-462e-9765-83d90cefbeag#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=110f9ec6-4464-462e-9765-83d90cefbead#MD_DataIdentification" ]
6236
* eval db.writeln('"ddf33bff-8de3-4cca-b6f5-24d18daa502f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
6237
* eval db.writeln('"ddf33bff-8de3-4cca-b6f5-24d18daa502f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.190:18]c21c6bf5-8899-4b46-8986-0f65eca05ed0
ms: 1774
>>
Background:
6238
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
6239
* def mystorage = Java.type('storage.DataStorage')
3
6240
* def db = new mystorage
1
6241
* def db = db.setfeature(karate.info.featureFileName)
1
6242
* def separator = java.lang.System.getProperty("file.separator")
1
6243
* def outputpath = db.outputpath()
1
6244
* eval db.ensureDirectory(outputpath)
1
6245
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6246
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6247
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6248
Given path 'geonetwork/srv/dut/inspire'
1
6249
And param service = 'CSW'
0
6250
And param version = '2.0.2'
0
6251
And param request = 'GetRecordById'
0
6252
And param id = 'c21c6bf5-8899-4b46-8986-0f65eca05ed0'
0
6253
And param elementsetname = 'full'
0
6254
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6255
When method get
1764
6256
Then status 200
0
6257
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c21c6bf5-8899-4b46-8986-0f65eca05ed0'
1
6258
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6259
* def title = get response //citation/CI_Citation/title/CharacterString
0
6260
* def email = get response //electronicMailAddress/CharacterString
0
6261
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6262
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
6263
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6264
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6265
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6266
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6267
* print organisationpath
0
06:39:54.120 [print] Beheer PDOK
6268
* print operateson
0
06:39:54.120 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e3#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e2#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e1#MD_DataIdentification" ]
6269
* eval db.writeln('"c21c6bf5-8899-4b46-8986-0f65eca05ed0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
6270
* eval db.writeln('"c21c6bf5-8899-4b46-8986-0f65eca05ed0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.191:18]e27e61d8-25b1-45ee-a2df-071312ba8a69
ms: 1605
>>
Background:
6271
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
6272
* def mystorage = Java.type('storage.DataStorage')
3
6273
* def db = new mystorage
1
6274
* def db = db.setfeature(karate.info.featureFileName)
1
6275
* def separator = java.lang.System.getProperty("file.separator")
1
6276
* def outputpath = db.outputpath()
1
6277
* eval db.ensureDirectory(outputpath)
1
6278
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6279
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6280
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6281
Given path 'geonetwork/srv/dut/inspire'
1
6282
And param service = 'CSW'
0
6283
And param version = '2.0.2'
0
6284
And param request = 'GetRecordById'
0
6285
And param id = 'e27e61d8-25b1-45ee-a2df-071312ba8a69'
1
6286
And param elementsetname = 'full'
0
6287
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6288
When method get
1592
6289
Then status 200
0
6290
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e27e61d8-25b1-45ee-a2df-071312ba8a69'
1
6291
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6292
* def title = get response //citation/CI_Citation/title/CharacterString
0
6293
* def email = get response //electronicMailAddress/CharacterString
0
6294
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
6295
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6296
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
6297
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6298
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6299
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6300
* print organisationpath
0
06:39:54.087 [print] Beheer PDOK
6301
* print operateson
0
06:39:54.087 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=622a632a-c57b-44a2-83a4-e51223d5f15g#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2e31680f-68b5-4ff3-94a4-9c24109ffd5e#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=krw-f7bb2351-9788-42ea-a58b-a5ee1842304e#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=krw-782cab20-8328-45f1-a9b2-c27d07c14066#MD_DataIdentification" ]
6302
* eval db.writeln('"e27e61d8-25b1-45ee-a2df-071312ba8a69","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
6303
* eval db.writeln('"e27e61d8-25b1-45ee-a2df-071312ba8a69","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
5
Scenario Outline: [1.192:18]0898d4a9-8fe6-46e9-8855-1242d8028970
ms: 1669
>>
Background:
6304
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
6305
* def mystorage = Java.type('storage.DataStorage')
3
6306
* def db = new mystorage
1
6307
* def db = db.setfeature(karate.info.featureFileName)
1
6308
* def separator = java.lang.System.getProperty("file.separator")
1
6309
* def outputpath = db.outputpath()
1
6310
* eval db.ensureDirectory(outputpath)
1
6311
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6312
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6313
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6314
Given path 'geonetwork/srv/dut/inspire'
1
6315
And param service = 'CSW'
0
6316
And param version = '2.0.2'
0
6317
And param request = 'GetRecordById'
0
6318
And param id = '0898d4a9-8fe6-46e9-8855-1242d8028970'
0
6319
And param elementsetname = 'full'
0
6320
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6321
When method get
1660
6322
Then status 200
0
6323
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0898d4a9-8fe6-46e9-8855-1242d8028970'
1
6324
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6325
* def title = get response //citation/CI_Citation/title/CharacterString
0
6326
* def email = get response //electronicMailAddress/CharacterString
0
6327
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
6328
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6329
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6330
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6331
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6332
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6333
* print organisationpath
0
06:39:54.215 [print]
6334
* print operateson
0
06:39:54.216 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=ror-9d8e-4758-83fx-28b057f185f1#MD_DataIdentification
6335
* eval db.writeln('"0898d4a9-8fe6-46e9-8855-1242d8028970","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
6336
* eval db.writeln('"0898d4a9-8fe6-46e9-8855-1242d8028970","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.193:18]b5ee6914-04bd-4c7e-a180-242371ae40d9
ms: 1581
>>
Background:
6337
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
6338
* def mystorage = Java.type('storage.DataStorage')
3
6339
* def db = new mystorage
1
6340
* def db = db.setfeature(karate.info.featureFileName)
1
6341
* def separator = java.lang.System.getProperty("file.separator")
1
6342
* def outputpath = db.outputpath()
1
6343
* eval db.ensureDirectory(outputpath)
1
6344
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6345
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6346
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6347
Given path 'geonetwork/srv/dut/inspire'
0
6348
And param service = 'CSW'
0
6349
And param version = '2.0.2'
0
6350
And param request = 'GetRecordById'
0
6351
And param id = 'b5ee6914-04bd-4c7e-a180-242371ae40d9'
4
6352
And param elementsetname = 'full'
0
6353
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6354
When method get
1567
6355
Then status 200
0
6356
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b5ee6914-04bd-4c7e-a180-242371ae40d9'
1
6357
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6358
* def title = get response //citation/CI_Citation/title/CharacterString
0
6359
* def email = get response //electronicMailAddress/CharacterString
0
6360
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6361
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6362
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6363
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6364
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6365
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6366
* print organisationpath
0
06:39:54.179 [print]
6367
* print operateson
0
06:39:54.180 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=50a2c5e6-c8e7-425d-854e-26f578196bc9#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=08b27bf0-e34a-4b30-9eac-5edadfb6a288#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8b0b02a0-1e1b-4cda-bcfe-6fa0f738e38f#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f2f86edf-ac3a-48e8-9292-0544da2d7645#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=ad6caa40-89ab-47e3-85ab-3f8e32024a71#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f8d840bc-18df-4449-b797-b9adcb81d3ec#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d3c9efd6-fca7-49d6-92bb-5f507abece90#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=32a21114-8694-40ce-ab76-9dcd885c7861#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d24ccb35-e9d2-41bf-b231-43083fc0c76d#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=36a7e8cb-8300-4602-93d2-135943365a6f#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=b3f66964-a8c1-456f-9799-9cafca2cb7b1#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e1e99000-ec47-4e9f-84a5-adad24fef0dc#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8a4f5c3b-aced-48fd-afb5-f1f1d0ef21d6#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d9baa847-4652-4588-abe1-0b050f40f27f#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2cc2c30c-91b8-412a-a060-e84d25272581#MD_DataIdentification" ]
6368
* eval db.writeln('"b5ee6914-04bd-4c7e-a180-242371ae40d9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
6369
* eval db.writeln('"b5ee6914-04bd-4c7e-a180-242371ae40d9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.194:18]b85d4a0a-c0f7-42f4-9316-b214d205ca38
ms: 1757
>>
Background:
6370
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
6371
* def mystorage = Java.type('storage.DataStorage')
3
6372
* def db = new mystorage
1
6373
* def db = db.setfeature(karate.info.featureFileName)
1
6374
* def separator = java.lang.System.getProperty("file.separator")
1
6375
* def outputpath = db.outputpath()
1
6376
* eval db.ensureDirectory(outputpath)
1
6377
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6378
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6379
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6380
Given path 'geonetwork/srv/dut/inspire'
0
6381
And param service = 'CSW'
0
6382
And param version = '2.0.2'
0
6383
And param request = 'GetRecordById'
0
6384
And param id = 'b85d4a0a-c0f7-42f4-9316-b214d205ca38'
1
6385
And param elementsetname = 'full'
0
6386
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6387
When method get
1748
6388
Then status 200
0
6389
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b85d4a0a-c0f7-42f4-9316-b214d205ca38'
1
6390
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6391
* def title = get response //citation/CI_Citation/title/CharacterString
0
6392
* def email = get response //electronicMailAddress/CharacterString
0
6393
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
6394
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6395
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6396
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6397
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6398
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6399
* print organisationpath
0
06:39:54.390 [print] RDW
6400
* print operateson
0
06:39:54.390 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=fe2f9091-1962-4073-9e3b-3e4aeed488a5#MD_DataIdentification
6401
* eval db.writeln('"b85d4a0a-c0f7-42f4-9316-b214d205ca38","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
6402
* eval db.writeln('"b85d4a0a-c0f7-42f4-9316-b214d205ca38","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.195:18]ef2a7962-8bb4-483f-ac78-851b619f357f
ms: 1594
>>
Background:
6403
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
6404
* def mystorage = Java.type('storage.DataStorage')
3
6405
* def db = new mystorage
1
6406
* def db = db.setfeature(karate.info.featureFileName)
1
6407
* def separator = java.lang.System.getProperty("file.separator")
1
6408
* def outputpath = db.outputpath()
1
6409
* eval db.ensureDirectory(outputpath)
1
6410
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6411
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6412
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6413
Given path 'geonetwork/srv/dut/inspire'
1
6414
And param service = 'CSW'
0
6415
And param version = '2.0.2'
0
6416
And param request = 'GetRecordById'
0
6417
And param id = 'ef2a7962-8bb4-483f-ac78-851b619f357f'
12
6418
And param elementsetname = 'full'
0
6419
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6420
When method get
1573
6421
Then status 200
0
6422
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ef2a7962-8bb4-483f-ac78-851b619f357f'
1
6423
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6424
* def title = get response //citation/CI_Citation/title/CharacterString
0
6425
* def email = get response //electronicMailAddress/CharacterString
0
6426
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
6427
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6428
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6429
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6430
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6431
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6432
* print organisationpath
0
06:39:54.311 [print] Rijksdienst voor het Cultureel Erfgoed
6433
* print operateson
0
06:39:54.312 [print] [ "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=6f84efeb-fc1d-4565-a721-80735ea57dbd&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=dfe5b146-354f-4bc7-99b1-6713817afac9&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=4e2ef670-cddd-11dd-ad8b-0800200c9a66&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=88a3c1ae-902e-4efa-8663-ddd836101929&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full" ]
6434
* eval db.writeln('"ef2a7962-8bb4-483f-ac78-851b619f357f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
6435
* eval db.writeln('"ef2a7962-8bb4-483f-ac78-851b619f357f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.196:18]641a0f48-872b-4470-b130-e3d28e6bfdfb
ms: 1853
>>
Background:
6436
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
6437
* def mystorage = Java.type('storage.DataStorage')
3
6438
* def db = new mystorage
1
6439
* def db = db.setfeature(karate.info.featureFileName)
1
6440
* def separator = java.lang.System.getProperty("file.separator")
1
6441
* def outputpath = db.outputpath()
1
6442
* eval db.ensureDirectory(outputpath)
1
6443
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6444
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6445
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6446
Given path 'geonetwork/srv/dut/inspire'
0
6447
And param service = 'CSW'
0
6448
And param version = '2.0.2'
0
6449
And param request = 'GetRecordById'
0
6450
And param id = '641a0f48-872b-4470-b130-e3d28e6bfdfb'
0
6451
And param elementsetname = 'full'
0
6452
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6453
When method get
1844
6454
Then status 200
0
6455
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '641a0f48-872b-4470-b130-e3d28e6bfdfb'
1
6456
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6457
* def title = get response //citation/CI_Citation/title/CharacterString
0
6458
* def email = get response //electronicMailAddress/CharacterString
0
6459
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6460
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6461
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6462
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6463
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6464
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6465
* print organisationpath
0
06:39:54.582 [print]
6466
* print operateson
0
06:39:54.582 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=krm-a905-9d8e-4758-83fa-28b057f185e3#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=krm-a905-9d8e-4758-83fa-28b057f185e4#MD_DataIdentification" ]
6467
* eval db.writeln('"641a0f48-872b-4470-b130-e3d28e6bfdfb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
6468
* eval db.writeln('"641a0f48-872b-4470-b130-e3d28e6bfdfb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.197:18]7c664a91-1aa2-4923-9d17-6a43e4075f47
ms: 1841
>>
Background:
6469
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
6470
* def mystorage = Java.type('storage.DataStorage')
3
6471
* def db = new mystorage
1
6472
* def db = db.setfeature(karate.info.featureFileName)
1
6473
* def separator = java.lang.System.getProperty("file.separator")
1
6474
* def outputpath = db.outputpath()
1
6475
* eval db.ensureDirectory(outputpath)
1
6476
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6477
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6478
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6479
Given path 'geonetwork/srv/dut/inspire'
0
6480
And param service = 'CSW'
0
6481
And param version = '2.0.2'
0
6482
And param request = 'GetRecordById'
0
6483
And param id = '7c664a91-1aa2-4923-9d17-6a43e4075f47'
0
6484
And param elementsetname = 'full'
0
6485
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6486
When method get
1832
6487
Then status 200
0
6488
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7c664a91-1aa2-4923-9d17-6a43e4075f47'
1
6489
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6490
* def title = get response //citation/CI_Citation/title/CharacterString
0
6491
* def email = get response //electronicMailAddress/CharacterString
0
6492
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
6493
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6494
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6495
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6496
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6497
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6498
* print organisationpath
0
06:39:54.758 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
6499
* print operateson
0
06:39:54.758 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=bb11be63-bd38-4632-bf54-df44c423a529#MD_DataIdentification
6500
* eval db.writeln('"7c664a91-1aa2-4923-9d17-6a43e4075f47","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
6501
* eval db.writeln('"7c664a91-1aa2-4923-9d17-6a43e4075f47","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.198:18]46873d16-6835-48c4-b47f-134ab0cb31fa
ms: 1792
>>
Background:
6502
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
6503
* def mystorage = Java.type('storage.DataStorage')
3
6504
* def db = new mystorage
1
6505
* def db = db.setfeature(karate.info.featureFileName)
1
6506
* def separator = java.lang.System.getProperty("file.separator")
1
6507
* def outputpath = db.outputpath()
1
6508
* eval db.ensureDirectory(outputpath)
1
6509
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6510
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6511
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6512
Given path 'geonetwork/srv/dut/inspire'
1
6513
And param service = 'CSW'
0
6514
And param version = '2.0.2'
0
6515
And param request = 'GetRecordById'
0
6516
And param id = '46873d16-6835-48c4-b47f-134ab0cb31fa'
0
6517
And param elementsetname = 'full'
0
6518
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6519
When method get
1777
6520
Then status 200
0
6521
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '46873d16-6835-48c4-b47f-134ab0cb31fa'
1
6522
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6523
* def title = get response //citation/CI_Citation/title/CharacterString
0
6524
* def email = get response //electronicMailAddress/CharacterString
0
6525
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
6526
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6527
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6528
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6529
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6530
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6531
* print organisationpath
0
06:39:54.786 [print]
6532
* print operateson
0
06:39:54.786 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=50a2c5e6-c8e7-425d-854e-26f578196bc9#MD_DataIdentification
6533
* eval db.writeln('"46873d16-6835-48c4-b47f-134ab0cb31fa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
6534
* eval db.writeln('"46873d16-6835-48c4-b47f-134ab0cb31fa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
7
Scenario Outline: [1.199:18]1ec5b9c9-4b4d-4b6a-930e-6e5198d9b2bb
ms: 1757
>>
Background:
6535
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
6536
* def mystorage = Java.type('storage.DataStorage')
3
6537
* def db = new mystorage
1
6538
* def db = db.setfeature(karate.info.featureFileName)
1
6539
* def separator = java.lang.System.getProperty("file.separator")
1
6540
* def outputpath = db.outputpath()
1
6541
* eval db.ensureDirectory(outputpath)
1
6542
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6543
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6544
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6545
Given path 'geonetwork/srv/dut/inspire'
1
6546
And param service = 'CSW'
0
6547
And param version = '2.0.2'
0
6548
And param request = 'GetRecordById'
0
6549
And param id = '1ec5b9c9-4b4d-4b6a-930e-6e5198d9b2bb'
0
6550
And param elementsetname = 'full'
0
6551
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6552
When method get
1748
6553
Then status 200
0
6554
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1ec5b9c9-4b4d-4b6a-930e-6e5198d9b2bb'
1
6555
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6556
* def title = get response //citation/CI_Citation/title/CharacterString
0
6557
* def email = get response //electronicMailAddress/CharacterString
0
6558
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6559
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6560
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6561
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6562
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6563
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6564
* print organisationpath
0
06:39:54.845 [print] Beheer PDOK
6565
* print operateson
0
06:39:54.845 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=2d3dd6d2-2d2b-4b5f-9e30-86e19ed77a56#MD_DataIdentification
6566
* eval db.writeln('"1ec5b9c9-4b4d-4b6a-930e-6e5198d9b2bb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
6567
* eval db.writeln('"1ec5b9c9-4b4d-4b6a-930e-6e5198d9b2bb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.200:18]5f0c583a-101e-45ea-b684-a056713cf811
ms: 1894
>>
Background:
6568
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
6569
* def mystorage = Java.type('storage.DataStorage')
3
6570
* def db = new mystorage
1
6571
* def db = db.setfeature(karate.info.featureFileName)
1
6572
* def separator = java.lang.System.getProperty("file.separator")
1
6573
* def outputpath = db.outputpath()
1
6574
* eval db.ensureDirectory(outputpath)
1
6575
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6576
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6577
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6578
Given path 'geonetwork/srv/dut/inspire'
0
6579
And param service = 'CSW'
0
6580
And param version = '2.0.2'
0
6581
And param request = 'GetRecordById'
0
6582
And param id = '5f0c583a-101e-45ea-b684-a056713cf811'
0
6583
And param elementsetname = 'full'
0
6584
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6585
When method get
1886
6586
Then status 200
0
6587
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5f0c583a-101e-45ea-b684-a056713cf811'
1
6588
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6589
* def title = get response //citation/CI_Citation/title/CharacterString
0
6590
* def email = get response //electronicMailAddress/CharacterString
0
6591
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
6592
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6593
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6594
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6595
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6596
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6597
* print organisationpath
0
06:39:55.037 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
6598
* print operateson
0
06:39:55.037 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=1249746f-c2a6-4639-98f2-251676b3528e&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
6599
* eval db.writeln('"5f0c583a-101e-45ea-b684-a056713cf811","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
6600
* eval db.writeln('"5f0c583a-101e-45ea-b684-a056713cf811","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.201:18]ef2a7962-8bb4-483f-ca52-85123f579
ms: 1650
>>
Background:
6601
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
6602
* def mystorage = Java.type('storage.DataStorage')
3
6603
* def db = new mystorage
1
6604
* def db = db.setfeature(karate.info.featureFileName)
1
6605
* def separator = java.lang.System.getProperty("file.separator")
1
6606
* def outputpath = db.outputpath()
1
6607
* eval db.ensureDirectory(outputpath)
1
6608
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6609
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6610
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6611
Given path 'geonetwork/srv/dut/inspire'
0
6612
And param service = 'CSW'
0
6613
And param version = '2.0.2'
0
6614
And param request = 'GetRecordById'
0
6615
And param id = 'ef2a7962-8bb4-483f-ca52-85123f579'
1
6616
And param elementsetname = 'full'
0
6617
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6618
When method get
1642
6619
Then status 200
0
6620
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ef2a7962-8bb4-483f-ca52-85123f579'
1
6621
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6622
* def title = get response //citation/CI_Citation/title/CharacterString
0
6623
* def email = get response //electronicMailAddress/CharacterString
0
6624
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
6625
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6626
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6627
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6628
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6629
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6630
* print organisationpath
0
06:39:54.795 [print] Informatiehuis Water
6631
* print operateson
0
06:39:54.795 [print] [ "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=110f9ec6-4464-462e-9765-83d90cefbeab&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=891ddc2d-8949-4a45-be96-c65b87c41f13&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full" ]
6632
* eval db.writeln('"ef2a7962-8bb4-483f-ca52-85123f579","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
6633
* eval db.writeln('"ef2a7962-8bb4-483f-ca52-85123f579","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.202:18]d2a05dd5-98e8-4f9c-8ba2-7fe2d5c7c507
ms: 1718
>>
Background:
6634
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
6635
* def mystorage = Java.type('storage.DataStorage')
3
6636
* def db = new mystorage
1
6637
* def db = db.setfeature(karate.info.featureFileName)
1
6638
* def separator = java.lang.System.getProperty("file.separator")
1
6639
* def outputpath = db.outputpath()
1
6640
* eval db.ensureDirectory(outputpath)
1
6641
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6642
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6643
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6644
Given path 'geonetwork/srv/dut/inspire'
5
6645
And param service = 'CSW'
0
6646
And param version = '2.0.2'
0
6647
And param request = 'GetRecordById'
0
6648
And param id = 'd2a05dd5-98e8-4f9c-8ba2-7fe2d5c7c507'
0
6649
And param elementsetname = 'full'
0
6650
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6651
When method get
1704
6652
Then status 200
0
6653
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd2a05dd5-98e8-4f9c-8ba2-7fe2d5c7c507'
1
6654
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6655
* def title = get response //citation/CI_Citation/title/CharacterString
0
6656
* def email = get response //electronicMailAddress/CharacterString
0
6657
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
6658
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6659
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6660
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6661
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6662
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6663
* print organisationpath
0
06:39:54.956 [print] Beheer PDOK
6664
* print operateson
0
06:39:54.956 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3703b249-a0eb-484e-ba7a-10e31a55bcec#MD_DataIdentification
6665
* eval db.writeln('"d2a05dd5-98e8-4f9c-8ba2-7fe2d5c7c507","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
6666
* eval db.writeln('"d2a05dd5-98e8-4f9c-8ba2-7fe2d5c7c507","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.203:18]243c6401-9ed1-4cdd-b9a7-caff08813ce4
ms: 1839
>>
Background:
6667
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
6668
* def mystorage = Java.type('storage.DataStorage')
3
6669
* def db = new mystorage
1
6670
* def db = db.setfeature(karate.info.featureFileName)
1
6671
* def separator = java.lang.System.getProperty("file.separator")
1
6672
* def outputpath = db.outputpath()
1
6673
* eval db.ensureDirectory(outputpath)
1
6674
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6675
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6676
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6677
Given path 'geonetwork/srv/dut/inspire'
0
6678
And param service = 'CSW'
0
6679
And param version = '2.0.2'
0
6680
And param request = 'GetRecordById'
0
6681
And param id = '243c6401-9ed1-4cdd-b9a7-caff08813ce4'
0
6682
And param elementsetname = 'full'
0
6683
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6684
When method get
1822
6685
Then status 200
0
6686
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '243c6401-9ed1-4cdd-b9a7-caff08813ce4'
1
6687
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6688
* def title = get response //citation/CI_Citation/title/CharacterString
0
6689
* def email = get response //electronicMailAddress/CharacterString
0
6690
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
6691
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6692
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6693
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6694
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6695
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6696
* print organisationpath
0
06:39:55.072 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
6697
* print operateson
0
06:39:55.072 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e8b84fae-00b3-49c1-80c1-df8f69f64e8c#MD_DataIdentification
6698
* eval db.writeln('"243c6401-9ed1-4cdd-b9a7-caff08813ce4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
6699
* eval db.writeln('"243c6401-9ed1-4cdd-b9a7-caff08813ce4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
10
Scenario Outline: [1.204:18]224d93f6-0e4e-41fe-8424-1ab11a6c55ed
ms: 1962
>>
Background:
6700
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
6701
* def mystorage = Java.type('storage.DataStorage')
3
6702
* def db = new mystorage
1
6703
* def db = db.setfeature(karate.info.featureFileName)
1
6704
* def separator = java.lang.System.getProperty("file.separator")
1
6705
* def outputpath = db.outputpath()
1
6706
* eval db.ensureDirectory(outputpath)
1
6707
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6708
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6709
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6710
Given path 'geonetwork/srv/dut/inspire'
0
6711
And param service = 'CSW'
0
6712
And param version = '2.0.2'
0
6713
And param request = 'GetRecordById'
0
6714
And param id = '224d93f6-0e4e-41fe-8424-1ab11a6c55ed'
2
6715
And param elementsetname = 'full'
0
6716
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6717
When method get
1951
6718
Then status 200
0
6719
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '224d93f6-0e4e-41fe-8424-1ab11a6c55ed'
1
6720
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6721
* def title = get response //citation/CI_Citation/title/CharacterString
0
6722
* def email = get response //electronicMailAddress/CharacterString
0
6723
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6724
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6725
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6726
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6727
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6728
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6729
* print organisationpath
0
06:39:55.332 [print]
6730
* print operateson
0
06:39:55.332 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=36a7e8cb-8300-4602-93d2-135943365a6f#MD_DataIdentification
6731
* eval db.writeln('"224d93f6-0e4e-41fe-8424-1ab11a6c55ed","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
6732
* eval db.writeln('"224d93f6-0e4e-41fe-8424-1ab11a6c55ed","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.205:18]03c39474-aef9-4169-95da-9890af440b14
ms: 1867
>>
Background:
6733
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
6734
* def mystorage = Java.type('storage.DataStorage')
3
6735
* def db = new mystorage
1
6736
* def db = db.setfeature(karate.info.featureFileName)
1
6737
* def separator = java.lang.System.getProperty("file.separator")
1
6738
* def outputpath = db.outputpath()
1
6739
* eval db.ensureDirectory(outputpath)
1
6740
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6741
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6742
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6743
Given path 'geonetwork/srv/dut/inspire'
0
6744
And param service = 'CSW'
0
6745
And param version = '2.0.2'
0
6746
And param request = 'GetRecordById'
0
6747
And param id = '03c39474-aef9-4169-95da-9890af440b14'
0
6748
And param elementsetname = 'full'
0
6749
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6750
When method get
1858
6751
Then status 200
0
6752
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '03c39474-aef9-4169-95da-9890af440b14'
1
6753
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6754
* def title = get response //citation/CI_Citation/title/CharacterString
0
6755
* def email = get response //electronicMailAddress/CharacterString
0
6756
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6757
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6758
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6759
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6760
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6761
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6762
* print organisationpath
0
06:39:55.240 [print]
6763
* print operateson
0
06:39:55.240 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=08b27bf0-e34a-4b30-9eac-5edadfb6a288#MD_DataIdentification
6764
* eval db.writeln('"03c39474-aef9-4169-95da-9890af440b14","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
6765
* eval db.writeln('"03c39474-aef9-4169-95da-9890af440b14","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.206:18]9fd2324b-9e02-4eab-bd4a-8e2be4fcd545
ms: 1780
>>
Background:
6766
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
6767
* def mystorage = Java.type('storage.DataStorage')
3
6768
* def db = new mystorage
1
6769
* def db = db.setfeature(karate.info.featureFileName)
1
6770
* def separator = java.lang.System.getProperty("file.separator")
1
6771
* def outputpath = db.outputpath()
1
6772
* eval db.ensureDirectory(outputpath)
1
6773
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6774
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6775
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6776
Given path 'geonetwork/srv/dut/inspire'
0
6777
And param service = 'CSW'
0
6778
And param version = '2.0.2'
0
6779
And param request = 'GetRecordById'
0
6780
And param id = '9fd2324b-9e02-4eab-bd4a-8e2be4fcd545'
0
6781
And param elementsetname = 'full'
0
6782
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6783
When method get
1771
6784
Then status 200
0
6785
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9fd2324b-9e02-4eab-bd4a-8e2be4fcd545'
1
6786
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6787
* def title = get response //citation/CI_Citation/title/CharacterString
0
6788
* def email = get response //electronicMailAddress/CharacterString
0
6789
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6790
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6791
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6792
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6793
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6794
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6795
* print organisationpath
0
06:39:55.155 [print]
6796
* print operateson
0
06:39:55.155 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2cc2c30c-91b8-412a-a060-e84d25272581#MD_DataIdentification
6797
* eval db.writeln('"9fd2324b-9e02-4eab-bd4a-8e2be4fcd545","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
6798
* eval db.writeln('"9fd2324b-9e02-4eab-bd4a-8e2be4fcd545","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.207:18]72f30ca1-3b80-4020-b9ed-301b1a88df39
ms: 2094
>>
Background:
6799
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
6800
* def mystorage = Java.type('storage.DataStorage')
3
6801
* def db = new mystorage
1
6802
* def db = db.setfeature(karate.info.featureFileName)
1
6803
* def separator = java.lang.System.getProperty("file.separator")
1
6804
* def outputpath = db.outputpath()
1
6805
* eval db.ensureDirectory(outputpath)
1
6806
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6807
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6808
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6809
Given path 'geonetwork/srv/dut/inspire'
0
6810
And param service = 'CSW'
0
6811
And param version = '2.0.2'
3
6812
And param request = 'GetRecordById'
0
6813
And param id = '72f30ca1-3b80-4020-b9ed-301b1a88df39'
1
6814
And param elementsetname = 'full'
0
6815
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6816
When method get
2083
6817
Then status 200
0
6818
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '72f30ca1-3b80-4020-b9ed-301b1a88df39'
1
6819
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6820
* def title = get response //citation/CI_Citation/title/CharacterString
0
6821
* def email = get response //electronicMailAddress/CharacterString
0
6822
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
6823
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6824
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6825
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6826
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6827
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6828
* print organisationpath
0
06:39:55.491 [print]
6829
* print operateson
0
06:39:55.491 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=588a4cb1-b442-4ac1-87e4-40401e353166#MD_DataIdentification
6830
* eval db.writeln('"72f30ca1-3b80-4020-b9ed-301b1a88df39","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
6831
* eval db.writeln('"72f30ca1-3b80-4020-b9ed-301b1a88df39","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.208:18]f59357eb-185f-42a5-b465-90bfa6e3e416
ms: 1956
>>
Background:
6832
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
6833
* def mystorage = Java.type('storage.DataStorage')
3
6834
* def db = new mystorage
1
6835
* def db = db.setfeature(karate.info.featureFileName)
1
6836
* def separator = java.lang.System.getProperty("file.separator")
1
6837
* def outputpath = db.outputpath()
1
6838
* eval db.ensureDirectory(outputpath)
1
6839
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6840
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6841
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6842
Given path 'geonetwork/srv/dut/inspire'
0
6843
And param service = 'CSW'
0
6844
And param version = '2.0.2'
0
6845
And param request = 'GetRecordById'
0
6846
And param id = 'f59357eb-185f-42a5-b465-90bfa6e3e416'
0
6847
And param elementsetname = 'full'
0
6848
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6849
When method get
1947
6850
Then status 200
0
6851
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f59357eb-185f-42a5-b465-90bfa6e3e416'
1
6852
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6853
* def title = get response //citation/CI_Citation/title/CharacterString
0
6854
* def email = get response //electronicMailAddress/CharacterString
0
6855
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6856
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6857
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6858
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6859
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6860
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6861
* print organisationpath
0
06:39:55.469 [print]
6862
* print operateson
0
06:39:55.469 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=32a21114-8694-40ce-ab76-9dcd885c7861#MD_DataIdentification
6863
* eval db.writeln('"f59357eb-185f-42a5-b465-90bfa6e3e416","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
6864
* eval db.writeln('"f59357eb-185f-42a5-b465-90bfa6e3e416","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.209:18]e91719b1-a139-42cf-8a1a-db78cd7477f8
ms: 2053
>>
Background:
6865
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
6866
* def mystorage = Java.type('storage.DataStorage')
3
6867
* def db = new mystorage
1
6868
* def db = db.setfeature(karate.info.featureFileName)
1
6869
* def separator = java.lang.System.getProperty("file.separator")
1
6870
* def outputpath = db.outputpath()
1
6871
* eval db.ensureDirectory(outputpath)
1
6872
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6873
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6874
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6875
Given path 'geonetwork/srv/dut/inspire'
0
6876
And param service = 'CSW'
0
6877
And param version = '2.0.2'
0
6878
And param request = 'GetRecordById'
0
6879
And param id = 'e91719b1-a139-42cf-8a1a-db78cd7477f8'
0
6880
And param elementsetname = 'full'
0
6881
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6882
When method get
2043
6883
Then status 200
0
6884
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e91719b1-a139-42cf-8a1a-db78cd7477f8'
1
6885
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6886
* def title = get response //citation/CI_Citation/title/CharacterString
0
6887
* def email = get response //electronicMailAddress/CharacterString
0
6888
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6889
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6890
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6891
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6892
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6893
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6894
* print organisationpath
0
06:39:55.669 [print] Beheer PDOK
6895
* print operateson
0
06:39:55.669 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=krw2006-c57b-44a2-83a4-e51223d5f15g#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=krw2006-68b5-4ff3-94a4-9c24109ffd5e#MD_DataIdentification" ]
6896
* eval db.writeln('"e91719b1-a139-42cf-8a1a-db78cd7477f8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
6897
* eval db.writeln('"e91719b1-a139-42cf-8a1a-db78cd7477f8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.210:18]5255c080-5f4e-4f7a-8a2c-6ac9d0103288
ms: 2037
>>
Background:
6898
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
6899
* def mystorage = Java.type('storage.DataStorage')
3
6900
* def db = new mystorage
1
6901
* def db = db.setfeature(karate.info.featureFileName)
1
6902
* def separator = java.lang.System.getProperty("file.separator")
1
6903
* def outputpath = db.outputpath()
1
6904
* eval db.ensureDirectory(outputpath)
1
6905
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6906
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6907
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6908
Given path 'geonetwork/srv/dut/inspire'
1
6909
And param service = 'CSW'
0
6910
And param version = '2.0.2'
0
6911
And param request = 'GetRecordById'
0
6912
And param id = '5255c080-5f4e-4f7a-8a2c-6ac9d0103288'
1
6913
And param elementsetname = 'full'
0
6914
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6915
When method get
2028
6916
Then status 200
0
6917
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5255c080-5f4e-4f7a-8a2c-6ac9d0103288'
1
6918
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6919
* def title = get response //citation/CI_Citation/title/CharacterString
0
6920
* def email = get response //electronicMailAddress/CharacterString
0
6921
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6922
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6923
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6924
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6925
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6926
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6927
* print organisationpath
0
06:39:55.727 [print]
6928
* print operateson
0
06:39:55.727 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f8d840bc-18df-4449-b797-b9adcb81d3ec#MD_DataIdentification
6929
* eval db.writeln('"5255c080-5f4e-4f7a-8a2c-6ac9d0103288","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
6930
* eval db.writeln('"5255c080-5f4e-4f7a-8a2c-6ac9d0103288","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.211:18]fbe544b6-6e6f-43a0-80b9-ced1df78c434
ms: 1886
>>
Background:
6931
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
6932
* def mystorage = Java.type('storage.DataStorage')
3
6933
* def db = new mystorage
1
6934
* def db = db.setfeature(karate.info.featureFileName)
1
6935
* def separator = java.lang.System.getProperty("file.separator")
1
6936
* def outputpath = db.outputpath()
1
6937
* eval db.ensureDirectory(outputpath)
1
6938
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6939
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6940
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6941
Given path 'geonetwork/srv/dut/inspire'
0
6942
And param service = 'CSW'
0
6943
And param version = '2.0.2'
0
6944
And param request = 'GetRecordById'
0
6945
And param id = 'fbe544b6-6e6f-43a0-80b9-ced1df78c434'
1
6946
And param elementsetname = 'full'
0
6947
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6948
When method get
1877
6949
Then status 200
0
6950
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'fbe544b6-6e6f-43a0-80b9-ced1df78c434'
1
6951
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6952
* def title = get response //citation/CI_Citation/title/CharacterString
0
6953
* def email = get response //electronicMailAddress/CharacterString
0
6954
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6955
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6956
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6957
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6958
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6959
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6960
* print organisationpath
0
06:39:55.589 [print]
6961
* print operateson
0
06:39:55.589 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=ad6caa40-89ab-47e3-85ab-3f8e32024a71#MD_DataIdentification
6962
* eval db.writeln('"fbe544b6-6e6f-43a0-80b9-ced1df78c434","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
6963
* eval db.writeln('"fbe544b6-6e6f-43a0-80b9-ced1df78c434","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.212:18]37308f90-e619-4b62-ae9e-e656bb3f1649
ms: 1764
>>
Background:
6964
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
6965
* def mystorage = Java.type('storage.DataStorage')
3
6966
* def db = new mystorage
1
6967
* def db = db.setfeature(karate.info.featureFileName)
1
6968
* def separator = java.lang.System.getProperty("file.separator")
1
6969
* def outputpath = db.outputpath()
1
6970
* eval db.ensureDirectory(outputpath)
1
6971
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6972
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6973
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6974
Given path 'geonetwork/srv/dut/inspire'
0
6975
And param service = 'CSW'
0
6976
And param version = '2.0.2'
0
6977
And param request = 'GetRecordById'
0
6978
And param id = '37308f90-e619-4b62-ae9e-e656bb3f1649'
0
6979
And param elementsetname = 'full'
0
6980
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6981
When method get
1753
6982
Then status 200
0
6983
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '37308f90-e619-4b62-ae9e-e656bb3f1649'
1
6984
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6985
* def title = get response //citation/CI_Citation/title/CharacterString
1
6986
* def email = get response //electronicMailAddress/CharacterString
1
6987
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6988
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
6989
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
6990
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6991
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6992
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6993
* print organisationpath
0
06:39:55.796 [print]
6994
* print operateson
0
06:39:55.796 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8b0b02a0-1e1b-4cda-bcfe-6fa0f738e38f#MD_DataIdentification
6995
* eval db.writeln('"37308f90-e619-4b62-ae9e-e656bb3f1649","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
6996
* eval db.writeln('"37308f90-e619-4b62-ae9e-e656bb3f1649","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.213:18]0bb27a13-76f1-4374-8d44-76e937198e8d
ms: 1710
>>
Background:
6997
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
6998
* def mystorage = Java.type('storage.DataStorage')
3
6999
* def db = new mystorage
1
7000
* def db = db.setfeature(karate.info.featureFileName)
1
7001
* def separator = java.lang.System.getProperty("file.separator")
1
7002
* def outputpath = db.outputpath()
1
7003
* eval db.ensureDirectory(outputpath)
1
7004
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7005
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7006
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7007
Given path 'geonetwork/srv/dut/inspire'
0
7008
And param service = 'CSW'
0
7009
And param version = '2.0.2'
0
7010
And param request = 'GetRecordById'
0
7011
And param id = '0bb27a13-76f1-4374-8d44-76e937198e8d'
1
7012
And param elementsetname = 'full'
0
7013
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7014
When method get
1701
7015
Then status 200
0
7016
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0bb27a13-76f1-4374-8d44-76e937198e8d'
1
7017
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7018
* def title = get response //citation/CI_Citation/title/CharacterString
0
7019
* def email = get response //electronicMailAddress/CharacterString
0
7020
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
7021
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7022
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7023
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7024
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7025
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7026
* print organisationpath
0
06:39:55.769 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
7027
* print operateson
0
06:39:55.769 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=a5241416-8401-4623-be61-57ef50447a41&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
7028
* eval db.writeln('"0bb27a13-76f1-4374-8d44-76e937198e8d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
7029
* eval db.writeln('"0bb27a13-76f1-4374-8d44-76e937198e8d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.214:18]15c3c30f-0db2-4b3b-80f6-b990c8fc8225
ms: 1849
>>
Background:
7030
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
7031
* def mystorage = Java.type('storage.DataStorage')
3
7032
* def db = new mystorage
1
7033
* def db = db.setfeature(karate.info.featureFileName)
1
7034
* def separator = java.lang.System.getProperty("file.separator")
1
7035
* def outputpath = db.outputpath()
1
7036
* eval db.ensureDirectory(outputpath)
1
7037
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7038
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7039
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7040
Given path 'geonetwork/srv/dut/inspire'
0
7041
And param service = 'CSW'
0
7042
And param version = '2.0.2'
0
7043
And param request = 'GetRecordById'
0
7044
And param id = '15c3c30f-0db2-4b3b-80f6-b990c8fc8225'
1
7045
And param elementsetname = 'full'
0
7046
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7047
When method get
1840
7048
Then status 200
0
7049
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '15c3c30f-0db2-4b3b-80f6-b990c8fc8225'
1
7050
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7051
* def title = get response //citation/CI_Citation/title/CharacterString
0
7052
* def email = get response //electronicMailAddress/CharacterString
0
7053
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
7054
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7055
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7056
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7057
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7058
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7059
* print organisationpath
0
06:39:55.940 [print]
7060
* print operateson
0
06:39:55.941 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=07575774-57a1-4419-bab4-6c88fdeb02b2#MD_DataIdentification
7061
* eval db.writeln('"15c3c30f-0db2-4b3b-80f6-b990c8fc8225","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
7062
* eval db.writeln('"15c3c30f-0db2-4b3b-80f6-b990c8fc8225","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.215:18]0606e8cb-fa51-402c-a3be-19fd724b0a10
ms: 1826
>>
Background:
7063
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
7064
* def mystorage = Java.type('storage.DataStorage')
3
7065
* def db = new mystorage
1
7066
* def db = db.setfeature(karate.info.featureFileName)
1
7067
* def separator = java.lang.System.getProperty("file.separator")
1
7068
* def outputpath = db.outputpath()
1
7069
* eval db.ensureDirectory(outputpath)
1
7070
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7071
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7072
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7073
Given path 'geonetwork/srv/dut/inspire'
0
7074
And param service = 'CSW'
0
7075
And param version = '2.0.2'
0
7076
And param request = 'GetRecordById'
0
7077
And param id = '0606e8cb-fa51-402c-a3be-19fd724b0a10'
1
7078
And param elementsetname = 'full'
0
7079
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7080
When method get
1816
7081
Then status 200
0
7082
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0606e8cb-fa51-402c-a3be-19fd724b0a10'
1
7083
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7084
* def title = get response //citation/CI_Citation/title/CharacterString
0
7085
* def email = get response //electronicMailAddress/CharacterString
0
7086
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7087
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7088
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7089
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
7090
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7091
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7092
* print organisationpath
0
06:39:55.947 [print]
7093
* print operateson
0
06:39:55.947 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f2f86edf-ac3a-48e8-9292-0544da2d7645#MD_DataIdentification
7094
* eval db.writeln('"0606e8cb-fa51-402c-a3be-19fd724b0a10","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
7095
* eval db.writeln('"0606e8cb-fa51-402c-a3be-19fd724b0a10","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.216:18]5d3fc8f8-5cb4-42e2-8f9b-62c147f36cc5
ms: 1788
>>
Background:
7096
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
7097
* def mystorage = Java.type('storage.DataStorage')
3
7098
* def db = new mystorage
1
7099
* def db = db.setfeature(karate.info.featureFileName)
1
7100
* def separator = java.lang.System.getProperty("file.separator")
1
7101
* def outputpath = db.outputpath()
1
7102
* eval db.ensureDirectory(outputpath)
1
7103
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7104
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7105
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7106
Given path 'geonetwork/srv/dut/inspire'
0
7107
And param service = 'CSW'
0
7108
And param version = '2.0.2'
0
7109
And param request = 'GetRecordById'
0
7110
And param id = '5d3fc8f8-5cb4-42e2-8f9b-62c147f36cc5'
0
7111
And param elementsetname = 'full'
0
7112
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7113
When method get
1779
7114
Then status 200
0
7115
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5d3fc8f8-5cb4-42e2-8f9b-62c147f36cc5'
1
7116
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7117
* def title = get response //citation/CI_Citation/title/CharacterString
0
7118
* def email = get response //electronicMailAddress/CharacterString
0
7119
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
7120
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7121
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7122
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7123
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7124
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7125
* print organisationpath
0
06:39:55.969 [print]
7126
* print operateson
0
06:39:55.969 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e1e99000-ec47-4e9f-84a5-adad24fef0dc#MD_DataIdentification
7127
* eval db.writeln('"5d3fc8f8-5cb4-42e2-8f9b-62c147f36cc5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
7128
* eval db.writeln('"5d3fc8f8-5cb4-42e2-8f9b-62c147f36cc5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.217:18]a931e334-b752-4935-8a98-00eddc443789
ms: 1905
>>
Background:
7129
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
7130
* def mystorage = Java.type('storage.DataStorage')
3
7131
* def db = new mystorage
1
7132
* def db = db.setfeature(karate.info.featureFileName)
1
7133
* def separator = java.lang.System.getProperty("file.separator")
1
7134
* def outputpath = db.outputpath()
1
7135
* eval db.ensureDirectory(outputpath)
1
7136
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7137
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7138
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7139
Given path 'geonetwork/srv/dut/inspire'
0
7140
And param service = 'CSW'
0
7141
And param version = '2.0.2'
0
7142
And param request = 'GetRecordById'
0
7143
And param id = 'a931e334-b752-4935-8a98-00eddc443789'
0
7144
And param elementsetname = 'full'
0
7145
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7146
When method get
1895
7147
Then status 200
0
7148
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a931e334-b752-4935-8a98-00eddc443789'
1
7149
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7150
* def title = get response //citation/CI_Citation/title/CharacterString
0
7151
* def email = get response //electronicMailAddress/CharacterString
0
7152
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7153
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7154
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7155
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7156
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7157
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7158
* print organisationpath
0
06:39:56.121 [print]
7159
* print operateson
0
06:39:56.121 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8a4f5c3b-aced-48fd-afb5-f1f1d0ef21d6#MD_DataIdentification
7160
* eval db.writeln('"a931e334-b752-4935-8a98-00eddc443789","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
7161
* eval db.writeln('"a931e334-b752-4935-8a98-00eddc443789","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.218:18]01572637-b851-4cc3-b06a-56c1ae1115cc
ms: 1917
>>
Background:
7162
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
7163
* def mystorage = Java.type('storage.DataStorage')
3
7164
* def db = new mystorage
1
7165
* def db = db.setfeature(karate.info.featureFileName)
1
7166
* def separator = java.lang.System.getProperty("file.separator")
1
7167
* def outputpath = db.outputpath()
1
7168
* eval db.ensureDirectory(outputpath)
1
7169
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7170
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7171
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7172
Given path 'geonetwork/srv/dut/inspire'
0
7173
And param service = 'CSW'
0
7174
And param version = '2.0.2'
0
7175
And param request = 'GetRecordById'
0
7176
And param id = '01572637-b851-4cc3-b06a-56c1ae1115cc'
0
7177
And param elementsetname = 'full'
0
7178
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7179
When method get
1909
7180
Then status 200
0
7181
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '01572637-b851-4cc3-b06a-56c1ae1115cc'
1
7182
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7183
* def title = get response //citation/CI_Citation/title/CharacterString
0
7184
* def email = get response //electronicMailAddress/CharacterString
0
7185
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
7186
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7187
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7188
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7189
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7190
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7191
* print organisationpath
0
06:39:56.230 [print]
7192
* print operateson
0
06:39:56.230 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d9baa847-4652-4588-abe1-0b050f40f27f#MD_DataIdentification
7193
* eval db.writeln('"01572637-b851-4cc3-b06a-56c1ae1115cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
7194
* eval db.writeln('"01572637-b851-4cc3-b06a-56c1ae1115cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.219:18]598c4109-21d2-4a6c-b083-9975a6736853
ms: 1794
>>
Background:
7195
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
7196
* def mystorage = Java.type('storage.DataStorage')
3
7197
* def db = new mystorage
1
7198
* def db = db.setfeature(karate.info.featureFileName)
1
7199
* def separator = java.lang.System.getProperty("file.separator")
1
7200
* def outputpath = db.outputpath()
1
7201
* eval db.ensureDirectory(outputpath)
1
7202
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7203
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7204
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7205
Given path 'geonetwork/srv/dut/inspire'
0
7206
And param service = 'CSW'
0
7207
And param version = '2.0.2'
0
7208
And param request = 'GetRecordById'
0
7209
And param id = '598c4109-21d2-4a6c-b083-9975a6736853'
0
7210
And param elementsetname = 'full'
0
7211
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7212
When method get
1784
7213
Then status 200
0
7214
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '598c4109-21d2-4a6c-b083-9975a6736853'
1
7215
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7216
* def title = get response //citation/CI_Citation/title/CharacterString
0
7217
* def email = get response //electronicMailAddress/CharacterString
0
7218
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7219
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7220
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7221
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7222
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7223
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7224
* print organisationpath
0
06:39:56.185 [print] Beheer PDOK
7225
* print operateson
0
06:39:56.185 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=27df6b33-194c-46d6-ac94-257c306c91f2#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=abaf1e22-55aa-4a11-a855-7ac963e4a82b#MD_DataIdentification" ]
7226
* eval db.writeln('"598c4109-21d2-4a6c-b083-9975a6736853","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
7227
* eval db.writeln('"598c4109-21d2-4a6c-b083-9975a6736853","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.220:18]6a129fd1-0988-4b8a-975a-6ff134b6754a
ms: 1688
>>
Background:
7228
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
7229
* def mystorage = Java.type('storage.DataStorage')
3
7230
* def db = new mystorage
1
7231
* def db = db.setfeature(karate.info.featureFileName)
1
7232
* def separator = java.lang.System.getProperty("file.separator")
1
7233
* def outputpath = db.outputpath()
1
7234
* eval db.ensureDirectory(outputpath)
1
7235
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7236
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7237
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7238
Given path 'geonetwork/srv/dut/inspire'
2
7239
And param service = 'CSW'
0
7240
And param version = '2.0.2'
0
7241
And param request = 'GetRecordById'
0
7242
And param id = '6a129fd1-0988-4b8a-975a-6ff134b6754a'
1
7243
And param elementsetname = 'full'
0
7244
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7245
When method get
1677
7246
Then status 200
0
7247
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6a129fd1-0988-4b8a-975a-6ff134b6754a'
1
7248
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7249
* def title = get response //citation/CI_Citation/title/CharacterString
0
7250
* def email = get response //electronicMailAddress/CharacterString
0
7251
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7252
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7253
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7254
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7255
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7256
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7257
* print organisationpath
0
06:39:56.270 [print] Beheer PDOK
7258
* print operateson
0
06:39:56.270 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=002d9127-c16d-4b8d-9f5e-102a8c8e36c4#MD_DataIdentification
7259
* eval db.writeln('"6a129fd1-0988-4b8a-975a-6ff134b6754a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
7260
* eval db.writeln('"6a129fd1-0988-4b8a-975a-6ff134b6754a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.221:18]b4485d59-a945-4940-a2f5-3ce7de6a947b
ms: 1566
>>
Background:
7261
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
7262
* def mystorage = Java.type('storage.DataStorage')
3
7263
* def db = new mystorage
1
7264
* def db = db.setfeature(karate.info.featureFileName)
1
7265
* def separator = java.lang.System.getProperty("file.separator")
1
7266
* def outputpath = db.outputpath()
1
7267
* eval db.ensureDirectory(outputpath)
1
7268
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7269
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7270
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7271
Given path 'geonetwork/srv/dut/inspire'
0
7272
And param service = 'CSW'
0
7273
And param version = '2.0.2'
0
7274
And param request = 'GetRecordById'
0
7275
And param id = 'b4485d59-a945-4940-a2f5-3ce7de6a947b'
1
7276
And param elementsetname = 'full'
0
7277
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7278
When method get
1556
7279
Then status 200
0
7280
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b4485d59-a945-4940-a2f5-3ce7de6a947b'
1
7281
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7282
* def title = get response //citation/CI_Citation/title/CharacterString
1
7283
* def email = get response //electronicMailAddress/CharacterString
1
7284
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7285
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7286
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7287
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7288
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7289
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7290
* print organisationpath
1
06:39:56.325 [print]
7291
* print operateson
0
06:39:56.325 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=b3f66964-a8c1-456f-9799-9cafca2cb7b1#MD_DataIdentification
7292
* eval db.writeln('"b4485d59-a945-4940-a2f5-3ce7de6a947b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
7293
* eval db.writeln('"b4485d59-a945-4940-a2f5-3ce7de6a947b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.222:18]ec73f245-66ce-4144-ac27-5966c80a4b3a
ms: 1600
>>
Background:
7294
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
7295
* def mystorage = Java.type('storage.DataStorage')
3
7296
* def db = new mystorage
1
7297
* def db = db.setfeature(karate.info.featureFileName)
1
7298
* def separator = java.lang.System.getProperty("file.separator")
1
7299
* def outputpath = db.outputpath()
1
7300
* eval db.ensureDirectory(outputpath)
1
7301
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7302
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7303
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7304
Given path 'geonetwork/srv/dut/inspire'
1
7305
And param service = 'CSW'
0
7306
And param version = '2.0.2'
0
7307
And param request = 'GetRecordById'
0
7308
And param id = 'ec73f245-66ce-4144-ac27-5966c80a4b3a'
2
7309
And param elementsetname = 'full'
0
7310
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7311
When method get
1588
7312
Then status 200
0
7313
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ec73f245-66ce-4144-ac27-5966c80a4b3a'
1
7314
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7315
* def title = get response //citation/CI_Citation/title/CharacterString
1
7316
* def email = get response //electronicMailAddress/CharacterString
1
7317
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7318
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7319
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7320
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7321
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7322
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
7323
* print organisationpath
0
06:39:56.392 [print] Beheer PDOK
7324
* print operateson
0
06:39:56.392 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=5951efa2-1ff3-4763-a966-a2f5497679ee#MD_DataIdentification
7325
* eval db.writeln('"ec73f245-66ce-4144-ac27-5966c80a4b3a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
7326
* eval db.writeln('"ec73f245-66ce-4144-ac27-5966c80a4b3a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.223:18]9ff1a13c-d1e0-4150-8523-91cb489ae1a4
ms: 1771
>>
Background:
7327
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
7328
* def mystorage = Java.type('storage.DataStorage')
3
7329
* def db = new mystorage
1
7330
* def db = db.setfeature(karate.info.featureFileName)
1
7331
* def separator = java.lang.System.getProperty("file.separator")
1
7332
* def outputpath = db.outputpath()
1
7333
* eval db.ensureDirectory(outputpath)
1
7334
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7335
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7336
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7337
Given path 'geonetwork/srv/dut/inspire'
0
7338
And param service = 'CSW'
0
7339
And param version = '2.0.2'
0
7340
And param request = 'GetRecordById'
0
7341
And param id = '9ff1a13c-d1e0-4150-8523-91cb489ae1a4'
0
7342
And param elementsetname = 'full'
0
7343
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7344
When method get
1756
7345
Then status 200
0
7346
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9ff1a13c-d1e0-4150-8523-91cb489ae1a4'
1
7347
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7348
* def title = get response //citation/CI_Citation/title/CharacterString
1
7349
* def email = get response //electronicMailAddress/CharacterString
1
7350
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7351
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7352
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7353
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7354
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7355
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
7356
* print organisationpath
0
06:39:56.562 [print] Beheer PDOK
7357
* print operateson
4
06:39:56.567 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5a1adb58-0bbe-425d-b0fe-577a6c0a4228#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=71c2b7d2-a1a8-4836-b8d4-7247d331b04d#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=1462bbce-ccd3-4362-83d8-4535ca8f44eb#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f605a24f-60cd-4c40-94c8-2186aba3ddd0#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=76091be7-358a-4a44-8182-b4139c96c6a4#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8829e5dd-c861-4639-a6c8-fdbb6e3440d2#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=710c381c-ab2d-45d5-a45d-af2eba811e5f#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a9b7026e-0a81-4813-93bd-ba49e6f28502#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2e5f0f60-0f2f-4e17-96af-c913fe305ecb#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=00d8c7c8-98ff-4b06-8f53-b44216e6e75c#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=701d4eb8-8aae-4708-bba5-3edf6987676d#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=17716ed7-ce0d-4bfd-8868-a398e5578a36#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=29d5310f-dd0d-45ba-abad-b4ffc6b8785f#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=831f7bd7-c2ae-4336-bd2f-47ab20d7cdb7#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=0f297898-2640-44c2-bbe9-c0480da83794#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=abaf1e22-55aa-4a11-a855-7ac963e4a82b#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=07d73b60-dfd6-4c54-9c82-9fac70c6c48e#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d25fe199-2430-48fd-ad57-5b5f79f73cdf#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e536d943-ecff-4d7a-9500-cc31a263a6af#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=bbece924-9aab-4e00-8392-bce36b8f494e#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c935f2ab-9b65-4dc4-94a0-73aeb840a941#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=81ff84ec-42a4-4481-840b-12713bbb5d38#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=af0c582f-9e6b-46e6-865a-fc3a2d5289b9#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=3eebf700-5abf-42e4-826c-03cfb497e366#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9d9f1738-aced-47c9-aaa0-c62474a2dcfb#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8eee71f9-9365-490d-9484-00263c6fa35c#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4961d305-fbb5-426a-9ba3-53e1ca5f3b18#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2af8df10-81ba-434a-8125-34fe8f127cf9#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=6cde2ce7-3ecd-4785-b7b8-d62c3381efe9#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=3229e4d7-4bcd-4b94-819d-8e62de69ce2e#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5d0dc580-ba7a-4c3b-968b-199efd92d6cf#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=bffcd5d9-02b4-4e7d-991f-a386611cad84#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=effe1ab0-073d-437c-af13-df5c5e07d6cd#MD_DataIdentification" ]
7358
* eval db.writeln('"9ff1a13c-d1e0-4150-8523-91cb489ae1a4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
7359
* eval db.writeln('"9ff1a13c-d1e0-4150-8523-91cb489ae1a4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.224:18]c6fa88ab-e440-414b-a773-793c4ce6d8df
ms: 1701
>>
Background:
7360
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
7361
* def mystorage = Java.type('storage.DataStorage')
3
7362
* def db = new mystorage
1
7363
* def db = db.setfeature(karate.info.featureFileName)
1
7364
* def separator = java.lang.System.getProperty("file.separator")
1
7365
* def outputpath = db.outputpath()
1
7366
* eval db.ensureDirectory(outputpath)
1
7367
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7368
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7369
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7370
Given path 'geonetwork/srv/dut/inspire'
0
7371
And param service = 'CSW'
0
7372
And param version = '2.0.2'
0
7373
And param request = 'GetRecordById'
0
7374
And param id = 'c6fa88ab-e440-414b-a773-793c4ce6d8df'
1
7375
And param elementsetname = 'full'
0
7376
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7377
When method get
1690
7378
Then status 200
0
7379
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c6fa88ab-e440-414b-a773-793c4ce6d8df'
1
7380
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7381
* def title = get response //citation/CI_Citation/title/CharacterString
1
7382
* def email = get response //electronicMailAddress/CharacterString
1
7383
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7384
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7385
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7386
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7387
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7388
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
7389
* print organisationpath
0
06:39:56.546 [print] Beheer PDOK
7390
* print operateson
0
06:39:56.546 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=c5c4a6d6-b850-473c-8ab5-af9c2c550809#MD_DataIdentification
7391
* eval db.writeln('"c6fa88ab-e440-414b-a773-793c4ce6d8df","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
7392
* eval db.writeln('"c6fa88ab-e440-414b-a773-793c4ce6d8df","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.225:18]e29b19de-d191-47f2-b944-5056a7674cce
ms: 1692
>>
Background:
7393
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
7394
* def mystorage = Java.type('storage.DataStorage')
3
7395
* def db = new mystorage
1
7396
* def db = db.setfeature(karate.info.featureFileName)
1
7397
* def separator = java.lang.System.getProperty("file.separator")
1
7398
* def outputpath = db.outputpath()
1
7399
* eval db.ensureDirectory(outputpath)
1
7400
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7401
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7402
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7403
Given path 'geonetwork/srv/dut/inspire'
1
7404
And param service = 'CSW'
0
7405
And param version = '2.0.2'
0
7406
And param request = 'GetRecordById'
0
7407
And param id = 'e29b19de-d191-47f2-b944-5056a7674cce'
0
7408
And param elementsetname = 'full'
0
7409
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7410
When method get
1680
7411
Then status 200
0
7412
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e29b19de-d191-47f2-b944-5056a7674cce'
1
7413
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7414
* def title = get response //citation/CI_Citation/title/CharacterString
0
7415
* def email = get response //electronicMailAddress/CharacterString
0
7416
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
7417
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7418
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7419
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7420
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7421
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7422
* print organisationpath
0
06:39:56.646 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
7423
* print operateson
0
06:39:56.646 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4617f0e0-6af4-4ac0-9044-31df9d03071c#MD_DataIdentification
7424
* eval db.writeln('"e29b19de-d191-47f2-b944-5056a7674cce","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
7425
* eval db.writeln('"e29b19de-d191-47f2-b944-5056a7674cce","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.226:18]d7a395a2-8673-4794-a5a6-fed6492cd580
ms: 1651
>>
Background:
7426
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
7427
* def mystorage = Java.type('storage.DataStorage')
3
7428
* def db = new mystorage
1
7429
* def db = db.setfeature(karate.info.featureFileName)
1
7430
* def separator = java.lang.System.getProperty("file.separator")
1
7431
* def outputpath = db.outputpath()
1
7432
* eval db.ensureDirectory(outputpath)
1
7433
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7434
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7435
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7436
Given path 'geonetwork/srv/dut/inspire'
0
7437
And param service = 'CSW'
0
7438
And param version = '2.0.2'
0
7439
And param request = 'GetRecordById'
0
7440
And param id = 'd7a395a2-8673-4794-a5a6-fed6492cd580'
0
7441
And param elementsetname = 'full'
0
7442
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7443
When method get
1616
7444
Then status 200
0
7445
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd7a395a2-8673-4794-a5a6-fed6492cd580'
1
7446
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7447
* def title = get response //citation/CI_Citation/title/CharacterString
1
7448
* def email = get response //electronicMailAddress/CharacterString
1
7449
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7450
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7451
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7452
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7453
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7454
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
7455
* print organisationpath
0
06:39:56.663 [print] Beheer PDOK
7456
* print operateson
22
06:39:56.685 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=1be28290-55fa-4486-b9d3-b9d147117863#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=7c24ea89-074e-4c4f-91e3-d38e813e9cb6#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=7f5d7945-8fa8-4d36-be4c-2fdb3c7d613b#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9ed6b8ed-254a-4745-a09a-3b57137d1b69#MD_DataIdentification" ]
7457
* eval db.writeln('"d7a395a2-8673-4794-a5a6-fed6492cd580","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
3
7458
* eval db.writeln('"d7a395a2-8673-4794-a5a6-fed6492cd580","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.227:18]c3ee15e4-38bf-4d54-9c0b-cfe0e609d448
ms: 1669
>>
Background:
7459
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
7460
* def mystorage = Java.type('storage.DataStorage')
3
7461
* def db = new mystorage
1
7462
* def db = db.setfeature(karate.info.featureFileName)
1
7463
* def separator = java.lang.System.getProperty("file.separator")
1
7464
* def outputpath = db.outputpath()
1
7465
* eval db.ensureDirectory(outputpath)
1
7466
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7467
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7468
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7469
Given path 'geonetwork/srv/dut/inspire'
0
7470
And param service = 'CSW'
0
7471
And param version = '2.0.2'
0
7472
And param request = 'GetRecordById'
0
7473
And param id = 'c3ee15e4-38bf-4d54-9c0b-cfe0e609d448'
1
7474
And param elementsetname = 'full'
0
7475
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7476
When method get
1644
7477
Then status 200
0
7478
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c3ee15e4-38bf-4d54-9c0b-cfe0e609d448'
4
7479
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7480
* def title = get response //citation/CI_Citation/title/CharacterString
1
7481
* def email = get response //electronicMailAddress/CharacterString
1
7482
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7483
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7484
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7485
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7486
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7487
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
7488
* print organisationpath
0
06:39:56.739 [print] Beheer PDOK
7489
* print operateson
0
06:39:56.739 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=5a1adb58-0bbe-425d-b0fe-577a6c0a4228#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=b9dd8575-3c1c-41f4-add5-c4f5f2b67179#MD_DataIdentification", "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=00fd1fc4-c190-4fa6-a68f-606c64a16679#MD_DataIdentification", "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=00b0a2bf-57ce-44c9-b94c-f6c9a41f5c61#MD_DataIdentification", "https://www.nationaalgeoregister.n/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=da237167-7f87-4310-ad64-614233de7a42#MD_DataIdentification" ]
7490
* eval db.writeln('"c3ee15e4-38bf-4d54-9c0b-cfe0e609d448","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
7491
* eval db.writeln('"c3ee15e4-38bf-4d54-9c0b-cfe0e609d448","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
12
Scenario Outline: [1.228:18]18bcfb8c-b73d-4e9c-8348-7ee6cd49ec79
ms: 1755
>>
Background:
7492
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
7493
* def mystorage = Java.type('storage.DataStorage')
3
7494
* def db = new mystorage
1
7495
* def db = db.setfeature(karate.info.featureFileName)
1
7496
* def separator = java.lang.System.getProperty("file.separator")
1
7497
* def outputpath = db.outputpath()
1
7498
* eval db.ensureDirectory(outputpath)
1
7499
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7500
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7501
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7502
Given path 'geonetwork/srv/dut/inspire'
0
7503
And param service = 'CSW'
0
7504
And param version = '2.0.2'
0
7505
And param request = 'GetRecordById'
0
7506
And param id = '18bcfb8c-b73d-4e9c-8348-7ee6cd49ec79'
1
7507
And param elementsetname = 'full'
0
7508
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7509
When method get
1737
7510
Then status 200
0
7511
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '18bcfb8c-b73d-4e9c-8348-7ee6cd49ec79'
3
7512
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7513
* def title = get response //citation/CI_Citation/title/CharacterString
1
7514
* def email = get response //electronicMailAddress/CharacterString
1
7515
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7516
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
5
7517
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
7518
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
7519
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
7520
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
7521
* print organisationpath
0
06:39:56.910 [print] Beheer PDOK
7522
* print operateson
0
06:39:56.910 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=8f45b8ef-0ce8-463a-9059-5efdcecb785c#MD_DataIdentification
7523
* eval db.writeln('"18bcfb8c-b73d-4e9c-8348-7ee6cd49ec79","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
7524
* eval db.writeln('"18bcfb8c-b73d-4e9c-8348-7ee6cd49ec79","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.229:18]ca71572f-a498-4ca6-aa60-d4c4c4d59e2e
ms: 1661
>>
Background:
7525
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
7526
* def mystorage = Java.type('storage.DataStorage')
3
7527
* def db = new mystorage
1
7528
* def db = db.setfeature(karate.info.featureFileName)
1
7529
* def separator = java.lang.System.getProperty("file.separator")
1
7530
* def outputpath = db.outputpath()
1
7531
* eval db.ensureDirectory(outputpath)
1
7532
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7533
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7534
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7535
Given path 'geonetwork/srv/dut/inspire'
0
7536
And param service = 'CSW'
0
7537
And param version = '2.0.2'
0
7538
And param request = 'GetRecordById'
0
7539
And param id = 'ca71572f-a498-4ca6-aa60-d4c4c4d59e2e'
1
7540
And param elementsetname = 'full'
0
7541
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7542
When method get
1651
7543
Then status 200
0
7544
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ca71572f-a498-4ca6-aa60-d4c4c4d59e2e'
1
7545
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7546
* def title = get response //citation/CI_Citation/title/CharacterString
0
7547
* def email = get response //electronicMailAddress/CharacterString
0
7548
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
7549
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7550
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
7551
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7552
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7553
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7554
* print organisationpath
0
06:39:56.901 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
7555
* print operateson
0
06:39:56.901 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=34e95842-4e4e-46de-9198-79e8cd4d30dc#MD_DataIdentification
7556
* eval db.writeln('"ca71572f-a498-4ca6-aa60-d4c4c4d59e2e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
7557
* eval db.writeln('"ca71572f-a498-4ca6-aa60-d4c4c4d59e2e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.230:18]9ad3f0c0-9e2c-4d44-a467-b57920aa512f
ms: 1688
>>
Background:
7558
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
7559
* def mystorage = Java.type('storage.DataStorage')
3
7560
* def db = new mystorage
1
7561
* def db = db.setfeature(karate.info.featureFileName)
1
7562
* def separator = java.lang.System.getProperty("file.separator")
1
7563
* def outputpath = db.outputpath()
1
7564
* eval db.ensureDirectory(outputpath)
1
7565
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7566
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7567
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7568
Given path 'geonetwork/srv/dut/inspire'
1
7569
And param service = 'CSW'
0
7570
And param version = '2.0.2'
0
7571
And param request = 'GetRecordById'
0
7572
And param id = '9ad3f0c0-9e2c-4d44-a467-b57920aa512f'
0
7573
And param elementsetname = 'full'
0
7574
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7575
When method get
1677
7576
Then status 200
0
7577
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9ad3f0c0-9e2c-4d44-a467-b57920aa512f'
2
7578
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7579
* def title = get response //citation/CI_Citation/title/CharacterString
0
7580
* def email = get response //electronicMailAddress/CharacterString
0
7581
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
7582
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7583
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7584
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7585
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7586
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7587
* print organisationpath
0
06:39:57.020 [print]
7588
* print operateson
0
06:39:57.020 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=ea938ed4-c9c0-4324-824f-5926669ba0e0#MD_DataIdentification
7589
* eval db.writeln('"9ad3f0c0-9e2c-4d44-a467-b57920aa512f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
7590
* eval db.writeln('"9ad3f0c0-9e2c-4d44-a467-b57920aa512f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.231:18]755d488b-7b94-4883-95be-6aa279604f85
ms: 1612
>>
Background:
7591
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
7592
* def mystorage = Java.type('storage.DataStorage')
3
7593
* def db = new mystorage
1
7594
* def db = db.setfeature(karate.info.featureFileName)
1
7595
* def separator = java.lang.System.getProperty("file.separator")
1
7596
* def outputpath = db.outputpath()
1
7597
* eval db.ensureDirectory(outputpath)
1
7598
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7599
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7600
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7601
Given path 'geonetwork/srv/dut/inspire'
0
7602
And param service = 'CSW'
0
7603
And param version = '2.0.2'
0
7604
And param request = 'GetRecordById'
0
7605
And param id = '755d488b-7b94-4883-95be-6aa279604f85'
1
7606
And param elementsetname = 'full'
0
7607
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7608
When method get
1601
7609
Then status 200
0
7610
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '755d488b-7b94-4883-95be-6aa279604f85'
1
7611
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7612
* def title = get response //citation/CI_Citation/title/CharacterString
0
7613
* def email = get response //electronicMailAddress/CharacterString
0
7614
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7615
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
2
7616
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7617
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7618
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7619
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7620
* print organisationpath
0
06:39:57.082 [print]
7621
* print operateson
0
06:39:57.082 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=36a7e8cb-8300-4602-93d2-135943365a6f#MD_DataIdentification
7622
* eval db.writeln('"755d488b-7b94-4883-95be-6aa279604f85","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
7623
* eval db.writeln('"755d488b-7b94-4883-95be-6aa279604f85","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.232:18]7e450110-f643-4b73-9262-4f13966cffc6
ms: 1635
>>
Background:
7624
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
7625
* def mystorage = Java.type('storage.DataStorage')
3
7626
* def db = new mystorage
1
7627
* def db = db.setfeature(karate.info.featureFileName)
1
7628
* def separator = java.lang.System.getProperty("file.separator")
1
7629
* def outputpath = db.outputpath()
1
7630
* eval db.ensureDirectory(outputpath)
1
7631
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7632
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7633
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7634
Given path 'geonetwork/srv/dut/inspire'
0
7635
And param service = 'CSW'
0
7636
And param version = '2.0.2'
0
7637
And param request = 'GetRecordById'
0
7638
And param id = '7e450110-f643-4b73-9262-4f13966cffc6'
1
7639
And param elementsetname = 'full'
0
7640
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7641
When method get
1622
7642
Then status 200
0
7643
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7e450110-f643-4b73-9262-4f13966cffc6'
1
7644
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7645
* def title = get response //citation/CI_Citation/title/CharacterString
0
7646
* def email = get response //electronicMailAddress/CharacterString
0
7647
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7648
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7649
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7650
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
3
7651
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7652
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7653
* print organisationpath
0
06:39:57.125 [print] Beheer PDOK
7654
* print operateson
0
06:39:57.125 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=krw2006-c57b-44a2-83a4-e51223d5f15g#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=krw2006-68b5-4ff3-94a4-9c24109ffd5e#MD_DataIdentification" ]
7655
* eval db.writeln('"7e450110-f643-4b73-9262-4f13966cffc6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
7656
* eval db.writeln('"7e450110-f643-4b73-9262-4f13966cffc6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.233:18]e222648d-d19e-4a99-a67d-2af1c9aabd75
ms: 1535
>>
Background:
7657
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
7658
* def mystorage = Java.type('storage.DataStorage')
3
7659
* def db = new mystorage
1
7660
* def db = db.setfeature(karate.info.featureFileName)
1
7661
* def separator = java.lang.System.getProperty("file.separator")
1
7662
* def outputpath = db.outputpath()
1
7663
* eval db.ensureDirectory(outputpath)
1
7664
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7665
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7666
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7667
Given path 'geonetwork/srv/dut/inspire'
0
7668
And param service = 'CSW'
0
7669
And param version = '2.0.2'
0
7670
And param request = 'GetRecordById'
0
7671
And param id = 'e222648d-d19e-4a99-a67d-2af1c9aabd75'
0
7672
And param elementsetname = 'full'
0
7673
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7674
When method get
1522
7675
Then status 200
0
7676
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e222648d-d19e-4a99-a67d-2af1c9aabd75'
1
7677
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7678
* def title = get response //citation/CI_Citation/title/CharacterString
0
7679
* def email = get response //electronicMailAddress/CharacterString
0
7680
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7681
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7682
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7683
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7684
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7685
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7686
* print organisationpath
0
06:39:57.121 [print]
7687
* print operateson
0
06:39:57.121 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e80ad426-1392-4349-9f80-14dae5f1bf57#MD_DataIdentification
7688
* eval db.writeln('"e222648d-d19e-4a99-a67d-2af1c9aabd75","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
7689
* eval db.writeln('"e222648d-d19e-4a99-a67d-2af1c9aabd75","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
5
Scenario Outline: [1.234:18]ff8f6da2-949e-4838-90f6-fd895a4a240f
ms: 1568
>>
Background:
7690
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
7691
* def mystorage = Java.type('storage.DataStorage')
3
7692
* def db = new mystorage
1
7693
* def db = db.setfeature(karate.info.featureFileName)
1
7694
* def separator = java.lang.System.getProperty("file.separator")
1
7695
* def outputpath = db.outputpath()
1
7696
* eval db.ensureDirectory(outputpath)
1
7697
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7698
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7699
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7700
Given path 'geonetwork/srv/dut/inspire'
0
7701
And param service = 'CSW'
0
7702
And param version = '2.0.2'
0
7703
And param request = 'GetRecordById'
0
7704
And param id = 'ff8f6da2-949e-4838-90f6-fd895a4a240f'
1
7705
And param elementsetname = 'full'
0
7706
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7707
When method get
1558
7708
Then status 200
0
7709
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ff8f6da2-949e-4838-90f6-fd895a4a240f'
1
7710
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7711
* def title = get response //citation/CI_Citation/title/CharacterString
0
7712
* def email = get response //electronicMailAddress/CharacterString
0
7713
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7714
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7715
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7716
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7717
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7718
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7719
* print organisationpath
0
06:39:57.238 [print]
7720
* print operateson
0
06:39:57.238 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d24ccb35-e9d2-41bf-b231-43083fc0c76d#MD_DataIdentification
7721
* eval db.writeln('"ff8f6da2-949e-4838-90f6-fd895a4a240f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
7722
* eval db.writeln('"ff8f6da2-949e-4838-90f6-fd895a4a240f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.235:18]86cb5bcc-a199-43e2-9e03-2d0fe8bdfa3f
ms: 1586
>>
Background:
7723
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
7724
* def mystorage = Java.type('storage.DataStorage')
3
7725
* def db = new mystorage
1
7726
* def db = db.setfeature(karate.info.featureFileName)
1
7727
* def separator = java.lang.System.getProperty("file.separator")
1
7728
* def outputpath = db.outputpath()
1
7729
* eval db.ensureDirectory(outputpath)
1
7730
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7731
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7732
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7733
Given path 'geonetwork/srv/dut/inspire'
0
7734
And param service = 'CSW'
0
7735
And param version = '2.0.2'
0
7736
And param request = 'GetRecordById'
0
7737
And param id = '86cb5bcc-a199-43e2-9e03-2d0fe8bdfa3f'
1
7738
And param elementsetname = 'full'
0
7739
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7740
When method get
1574
7741
Then status 200
0
7742
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '86cb5bcc-a199-43e2-9e03-2d0fe8bdfa3f'
2
7743
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7744
* def title = get response //citation/CI_Citation/title/CharacterString
1
7745
* def email = get response //electronicMailAddress/CharacterString
1
7746
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7747
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
7748
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
7749
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
7750
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
7751
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
7752
* print organisationpath
0
06:39:57.313 [print] Beheer PDOK
7753
* print operateson
0
06:39:57.313 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3a7dd0a6-d130-4c4c-b0ba-24365cf036e2#MD_DataIdentification
7754
* eval db.writeln('"86cb5bcc-a199-43e2-9e03-2d0fe8bdfa3f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
7755
* eval db.writeln('"86cb5bcc-a199-43e2-9e03-2d0fe8bdfa3f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.236:18]777f41ee-8269-4bbc-b0e4-f889c62be099
ms: 1571
>>
Background:
7756
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
7757
* def mystorage = Java.type('storage.DataStorage')
3
7758
* def db = new mystorage
1
7759
* def db = db.setfeature(karate.info.featureFileName)
1
7760
* def separator = java.lang.System.getProperty("file.separator")
1
7761
* def outputpath = db.outputpath()
1
7762
* eval db.ensureDirectory(outputpath)
1
7763
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7764
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7765
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7766
Given path 'geonetwork/srv/dut/inspire'
0
7767
And param service = 'CSW'
0
7768
And param version = '2.0.2'
0
7769
And param request = 'GetRecordById'
0
7770
And param id = '777f41ee-8269-4bbc-b0e4-f889c62be099'
1
7771
And param elementsetname = 'full'
0
7772
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7773
When method get
1561
7774
Then status 200
0
7775
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '777f41ee-8269-4bbc-b0e4-f889c62be099'
1
7776
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7777
* def title = get response //citation/CI_Citation/title/CharacterString
1
7778
* def email = get response //electronicMailAddress/CharacterString
0
7779
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7780
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
7781
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7782
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7783
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7784
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7785
* print organisationpath
0
06:39:57.341 [print]
7786
* print operateson
0
06:39:57.341 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=50a2c5e6-c8e7-425d-854e-26f578196bc9#MD_DataIdentification
7787
* eval db.writeln('"777f41ee-8269-4bbc-b0e4-f889c62be099","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
7788
* eval db.writeln('"777f41ee-8269-4bbc-b0e4-f889c62be099","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.237:18]5bb85b77-fffd-449b-bd61-f076fe07cc4b
ms: 1725
>>
Background:
7789
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
7790
* def mystorage = Java.type('storage.DataStorage')
3
7791
* def db = new mystorage
1
7792
* def db = db.setfeature(karate.info.featureFileName)
1
7793
* def separator = java.lang.System.getProperty("file.separator")
1
7794
* def outputpath = db.outputpath()
1
7795
* eval db.ensureDirectory(outputpath)
1
7796
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7797
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7798
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7799
Given path 'geonetwork/srv/dut/inspire'
0
7800
And param service = 'CSW'
0
7801
And param version = '2.0.2'
0
7802
And param request = 'GetRecordById'
0
7803
And param id = '5bb85b77-fffd-449b-bd61-f076fe07cc4b'
0
7804
And param elementsetname = 'full'
0
7805
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7806
When method get
1715
7807
Then status 200
0
7808
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5bb85b77-fffd-449b-bd61-f076fe07cc4b'
1
7809
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7810
* def title = get response //citation/CI_Citation/title/CharacterString
0
7811
* def email = get response //electronicMailAddress/CharacterString
0
7812
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
7813
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7814
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7815
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7816
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7817
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7818
* print organisationpath
0
06:39:57.521 [print] Beheer PDOK
7819
* print operateson
0
06:39:57.521 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=6c06740d-058f-4a12-bb3f-bf68efd03d09#MD_DataIdentification
7820
* eval db.writeln('"5bb85b77-fffd-449b-bd61-f076fe07cc4b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
7821
* eval db.writeln('"5bb85b77-fffd-449b-bd61-f076fe07cc4b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.238:18]627b50bf-2e33-4beb-a314-ff8c0fe8912e
ms: 1664
>>
Background:
7822
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
7823
* def mystorage = Java.type('storage.DataStorage')
3
7824
* def db = new mystorage
1
7825
* def db = db.setfeature(karate.info.featureFileName)
1
7826
* def separator = java.lang.System.getProperty("file.separator")
1
7827
* def outputpath = db.outputpath()
1
7828
* eval db.ensureDirectory(outputpath)
1
7829
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7830
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7831
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7832
Given path 'geonetwork/srv/dut/inspire'
0
7833
And param service = 'CSW'
0
7834
And param version = '2.0.2'
0
7835
And param request = 'GetRecordById'
0
7836
And param id = '627b50bf-2e33-4beb-a314-ff8c0fe8912e'
0
7837
And param elementsetname = 'full'
0
7838
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7839
When method get
1650
7840
Then status 200
0
7841
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '627b50bf-2e33-4beb-a314-ff8c0fe8912e'
1
7842
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7843
* def title = get response //citation/CI_Citation/title/CharacterString
0
7844
* def email = get response //electronicMailAddress/CharacterString
0
7845
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7846
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
4
7847
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7848
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7849
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7850
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7851
* print organisationpath
0
06:39:57.605 [print] Beheer PDOK
7852
* print operateson
0
06:39:57.605 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=eu-2c7040b-c448-451b-bf15-f2416ecaadd1#MD_DataIdentification
7853
* eval db.writeln('"627b50bf-2e33-4beb-a314-ff8c0fe8912e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
7854
* eval db.writeln('"627b50bf-2e33-4beb-a314-ff8c0fe8912e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.239:18]5b40b9b4-fcb2-4553-bcab-34824c43c992
ms: 1846
>>
Background:
7855
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
7856
* def mystorage = Java.type('storage.DataStorage')
3
7857
* def db = new mystorage
1
7858
* def db = db.setfeature(karate.info.featureFileName)
1
7859
* def separator = java.lang.System.getProperty("file.separator")
1
7860
* def outputpath = db.outputpath()
1
7861
* eval db.ensureDirectory(outputpath)
1
7862
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7863
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7864
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7865
Given path 'geonetwork/srv/dut/inspire'
0
7866
And param service = 'CSW'
0
7867
And param version = '2.0.2'
0
7868
And param request = 'GetRecordById'
0
7869
And param id = '5b40b9b4-fcb2-4553-bcab-34824c43c992'
1
7870
And param elementsetname = 'full'
0
7871
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7872
When method get
1834
7873
Then status 200
0
7874
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5b40b9b4-fcb2-4553-bcab-34824c43c992'
1
7875
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7876
* def title = get response //citation/CI_Citation/title/CharacterString
0
7877
* def email = get response //electronicMailAddress/CharacterString
0
7878
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7879
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7880
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7881
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7882
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7883
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7884
* print organisationpath
0
06:39:57.791 [print] Beheer PDOK
7885
* print operateson
0
06:39:57.791 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a5f961e9-ebdd-41e2-b8e8-ab33ed340a83#MD_DataIdentification
7886
* eval db.writeln('"5b40b9b4-fcb2-4553-bcab-34824c43c992","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
4
7887
* eval db.writeln('"5b40b9b4-fcb2-4553-bcab-34824c43c992","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.240:18]22bedc12-e9cb-4419-8e51-dfb375d46d01
ms: 1887
>>
Background:
7888
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
7889
* def mystorage = Java.type('storage.DataStorage')
3
7890
* def db = new mystorage
1
7891
* def db = db.setfeature(karate.info.featureFileName)
1
7892
* def separator = java.lang.System.getProperty("file.separator")
1
7893
* def outputpath = db.outputpath()
1
7894
* eval db.ensureDirectory(outputpath)
1
7895
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7896
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7897
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7898
Given path 'geonetwork/srv/dut/inspire'
0
7899
And param service = 'CSW'
0
7900
And param version = '2.0.2'
0
7901
And param request = 'GetRecordById'
0
7902
And param id = '22bedc12-e9cb-4419-8e51-dfb375d46d01'
0
7903
And param elementsetname = 'full'
0
7904
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7905
When method get
1878
7906
Then status 200
0
7907
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '22bedc12-e9cb-4419-8e51-dfb375d46d01'
1
7908
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7909
* def title = get response //citation/CI_Citation/title/CharacterString
0
7910
* def email = get response //electronicMailAddress/CharacterString
0
7911
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
7912
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7913
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7914
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7915
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7916
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7917
* print organisationpath
0
06:39:57.857 [print] Interprovinciaal Overleg
7918
* print operateson
0
06:39:57.857 [print] [ "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=88f76a94-ee4d-4e0c-9fde-91b692403e39&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=08af1182-91fe-4d21-aa21-ee002953c3cc&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=d91126e0-e37b-11e4-b571-0800200c9a66&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=667ebfb0-e37c-11e4-b571-0800200c9a66&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification" ]
7919
* eval db.writeln('"22bedc12-e9cb-4419-8e51-dfb375d46d01","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
7920
* eval db.writeln('"22bedc12-e9cb-4419-8e51-dfb375d46d01","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.241:18]f2437a92-ddd3-4777-a1bc-fdf4b4a7fcb8
ms: 1683
>>
Background:
7921
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
7922
* def mystorage = Java.type('storage.DataStorage')
3
7923
* def db = new mystorage
1
7924
* def db = db.setfeature(karate.info.featureFileName)
1
7925
* def separator = java.lang.System.getProperty("file.separator")
1
7926
* def outputpath = db.outputpath()
1
7927
* eval db.ensureDirectory(outputpath)
1
7928
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7929
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7930
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7931
Given path 'geonetwork/srv/dut/inspire'
0
7932
And param service = 'CSW'
0
7933
And param version = '2.0.2'
0
7934
And param request = 'GetRecordById'
0
7935
And param id = 'f2437a92-ddd3-4777-a1bc-fdf4b4a7fcb8'
1
7936
And param elementsetname = 'full'
0
7937
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7938
When method get
1674
7939
Then status 200
0
7940
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f2437a92-ddd3-4777-a1bc-fdf4b4a7fcb8'
1
7941
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7942
* def title = get response //citation/CI_Citation/title/CharacterString
0
7943
* def email = get response //electronicMailAddress/CharacterString
1
7944
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7945
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7946
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7947
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7948
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7949
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7950
* print organisationpath
0
06:39:57.806 [print] Beheer PDOK
7951
* print operateson
0
06:39:57.806 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2e5f0f60-0f2f-4e17-96af-c913fe305ecb#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8f0497f0-dbd7-4bee-b85a-5fdec484a7ff#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a9b7026e-0a81-4813-93bd-ba49e6f28502#MD_DataIdentification" ]
7952
* eval db.writeln('"f2437a92-ddd3-4777-a1bc-fdf4b4a7fcb8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
7953
* eval db.writeln('"f2437a92-ddd3-4777-a1bc-fdf4b4a7fcb8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.242:18]037e55bd-a1dc-4fde-adfe-4610d3a3d5cb
ms: 1566
>>
Background:
7954
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
7955
* def mystorage = Java.type('storage.DataStorage')
3
7956
* def db = new mystorage
1
7957
* def db = db.setfeature(karate.info.featureFileName)
1
7958
* def separator = java.lang.System.getProperty("file.separator")
1
7959
* def outputpath = db.outputpath()
1
7960
* eval db.ensureDirectory(outputpath)
1
7961
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7962
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7963
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7964
Given path 'geonetwork/srv/dut/inspire'
0
7965
And param service = 'CSW'
0
7966
And param version = '2.0.2'
0
7967
And param request = 'GetRecordById'
0
7968
And param id = '037e55bd-a1dc-4fde-adfe-4610d3a3d5cb'
0
7969
And param elementsetname = 'full'
0
7970
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7971
When method get
1557
7972
Then status 200
0
7973
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '037e55bd-a1dc-4fde-adfe-4610d3a3d5cb'
1
7974
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7975
* def title = get response //citation/CI_Citation/title/CharacterString
0
7976
* def email = get response //electronicMailAddress/CharacterString
0
7977
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
7978
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7979
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7980
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7981
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7982
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7983
* print organisationpath
0
06:39:57.752 [print]
7984
* print operateson
0
06:39:57.752 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=76541ebb-a554-4540-a017-399d4bb4a860#MD_DataIdentification
7985
* eval db.writeln('"037e55bd-a1dc-4fde-adfe-4610d3a3d5cb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
7986
* eval db.writeln('"037e55bd-a1dc-4fde-adfe-4610d3a3d5cb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.243:18]54122631-d343-40be-9c28-e44626b37a0e
ms: 1689
>>
Background:
7987
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
7988
* def mystorage = Java.type('storage.DataStorage')
3
7989
* def db = new mystorage
1
7990
* def db = db.setfeature(karate.info.featureFileName)
1
7991
* def separator = java.lang.System.getProperty("file.separator")
1
7992
* def outputpath = db.outputpath()
1
7993
* eval db.ensureDirectory(outputpath)
1
7994
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7995
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7996
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7997
Given path 'geonetwork/srv/dut/inspire'
0
7998
And param service = 'CSW'
0
7999
And param version = '2.0.2'
0
8000
And param request = 'GetRecordById'
0
8001
And param id = '54122631-d343-40be-9c28-e44626b37a0e'
0
8002
And param elementsetname = 'full'
0
8003
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8004
When method get
1681
8005
Then status 200
0
8006
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '54122631-d343-40be-9c28-e44626b37a0e'
1
8007
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8008
* def title = get response //citation/CI_Citation/title/CharacterString
0
8009
* def email = get response //electronicMailAddress/CharacterString
0
8010
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
8011
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8012
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8013
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8014
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8015
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8016
* print organisationpath
0
06:39:57.920 [print]
8017
* print operateson
0
06:39:57.920 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=12bb57cd-73e0-41ba-a1e9-6d986b9109d3&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
8018
* eval db.writeln('"54122631-d343-40be-9c28-e44626b37a0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
8019
* eval db.writeln('"54122631-d343-40be-9c28-e44626b37a0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.244:18]b023459a-9f0e-4d53-8059-a794119abbed
ms: 1632
>>
Background:
8020
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
8021
* def mystorage = Java.type('storage.DataStorage')
3
8022
* def db = new mystorage
1
8023
* def db = db.setfeature(karate.info.featureFileName)
1
8024
* def separator = java.lang.System.getProperty("file.separator")
1
8025
* def outputpath = db.outputpath()
1
8026
* eval db.ensureDirectory(outputpath)
1
8027
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8028
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8029
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8030
Given path 'geonetwork/srv/dut/inspire'
0
8031
And param service = 'CSW'
0
8032
And param version = '2.0.2'
0
8033
And param request = 'GetRecordById'
0
8034
And param id = 'b023459a-9f0e-4d53-8059-a794119abbed'
0
8035
And param elementsetname = 'full'
0
8036
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8037
When method get
1621
8038
Then status 200
0
8039
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b023459a-9f0e-4d53-8059-a794119abbed'
1
8040
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8041
* def title = get response //citation/CI_Citation/title/CharacterString
0
8042
* def email = get response //electronicMailAddress/CharacterString
0
8043
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
2
8044
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8045
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8046
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8047
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8048
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8049
* print organisationpath
0
06:39:57.902 [print] Beheer PDOK
8050
* print operateson
0
06:39:57.902 [print] https://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3387ef8a-9237-453a-aa4e-585d1e193550#MD_DataIdentification
8051
* eval db.writeln('"b023459a-9f0e-4d53-8059-a794119abbed","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
8052
* eval db.writeln('"b023459a-9f0e-4d53-8059-a794119abbed","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.245:18]0e2580b7-2a15-41a2-b1b6-361265e4f5f4
ms: 1676
>>
Background:
8053
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
8054
* def mystorage = Java.type('storage.DataStorage')
3
8055
* def db = new mystorage
1
8056
* def db = db.setfeature(karate.info.featureFileName)
1
8057
* def separator = java.lang.System.getProperty("file.separator")
1
8058
* def outputpath = db.outputpath()
1
8059
* eval db.ensureDirectory(outputpath)
1
8060
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8061
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8062
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8063
Given path 'geonetwork/srv/dut/inspire'
0
8064
And param service = 'CSW'
0
8065
And param version = '2.0.2'
0
8066
And param request = 'GetRecordById'
0
8067
And param id = '0e2580b7-2a15-41a2-b1b6-361265e4f5f4'
0
8068
And param elementsetname = 'full'
0
8069
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8070
When method get
1664
8071
Then status 200
0
8072
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0e2580b7-2a15-41a2-b1b6-361265e4f5f4'
1
8073
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8074
* def title = get response //citation/CI_Citation/title/CharacterString
1
8075
* def email = get response //electronicMailAddress/CharacterString
1
8076
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8077
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8078
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8079
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8080
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8081
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
8082
* print organisationpath
0
06:39:58.001 [print] Beheer PDOK
8083
* print operateson
0
06:39:58.001 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=b4ae622c-6201-49d8-bd2e-f7fce9206a1e#MD_DataIdentification
8084
* eval db.writeln('"0e2580b7-2a15-41a2-b1b6-361265e4f5f4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
8085
* eval db.writeln('"0e2580b7-2a15-41a2-b1b6-361265e4f5f4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.246:18]702060c1-b3fd-44ec-8cc6-d4249d150110
ms: 1704
>>
Background:
8086
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
8087
* def mystorage = Java.type('storage.DataStorage')
3
8088
* def db = new mystorage
1
8089
* def db = db.setfeature(karate.info.featureFileName)
1
8090
* def separator = java.lang.System.getProperty("file.separator")
1
8091
* def outputpath = db.outputpath()
1
8092
* eval db.ensureDirectory(outputpath)
1
8093
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8094
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8095
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8096
Given path 'geonetwork/srv/dut/inspire'
0
8097
And param service = 'CSW'
0
8098
And param version = '2.0.2'
0
8099
And param request = 'GetRecordById'
0
8100
And param id = '702060c1-b3fd-44ec-8cc6-d4249d150110'
0
8101
And param elementsetname = 'full'
0
8102
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8103
When method get
1693
8104
Then status 200
0
8105
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '702060c1-b3fd-44ec-8cc6-d4249d150110'
2
8106
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8107
* def title = get response //citation/CI_Citation/title/CharacterString
1
8108
* def email = get response //electronicMailAddress/CharacterString
0
8109
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8110
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8111
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8112
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8113
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8114
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8115
* print organisationpath
0
06:39:58.096 [print] Interprovinciaal Overleg
8116
* print operateson
0
06:39:58.096 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=88e2a6fa-b296-4ff4-bc30-fb87e2c1627e&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
8117
* eval db.writeln('"702060c1-b3fd-44ec-8cc6-d4249d150110","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
8118
* eval db.writeln('"702060c1-b3fd-44ec-8cc6-d4249d150110","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.247:18]ebd6ea46-ee7b-432f-83c4-058c889a790d
ms: 1608
>>
Background:
8119
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
8120
* def mystorage = Java.type('storage.DataStorage')
3
8121
* def db = new mystorage
1
8122
* def db = db.setfeature(karate.info.featureFileName)
1
8123
* def separator = java.lang.System.getProperty("file.separator")
1
8124
* def outputpath = db.outputpath()
1
8125
* eval db.ensureDirectory(outputpath)
1
8126
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8127
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8128
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8129
Given path 'geonetwork/srv/dut/inspire'
1
8130
And param service = 'CSW'
0
8131
And param version = '2.0.2'
0
8132
And param request = 'GetRecordById'
0
8133
And param id = 'ebd6ea46-ee7b-432f-83c4-058c889a790d'
0
8134
And param elementsetname = 'full'
0
8135
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8136
When method get
1586
8137
Then status 200
0
8138
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ebd6ea46-ee7b-432f-83c4-058c889a790d'
1
8139
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8140
* def title = get response //citation/CI_Citation/title/CharacterString
0
8141
* def email = get response //electronicMailAddress/CharacterString
0
8142
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8143
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8144
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8145
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8146
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8147
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8148
* print organisationpath
0
06:39:58.144 [print] Interprovinciaal Overleg
8149
* print operateson
0
06:39:58.144 [print] [ "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=c829abeb-bfac-4224-8332-e7a9a89e692e&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=fe45c540-e37d-11e4-b571-0800200c9a66&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification" ]
8150
* eval db.writeln('"ebd6ea46-ee7b-432f-83c4-058c889a790d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
12
8151
* eval db.writeln('"ebd6ea46-ee7b-432f-83c4-058c889a790d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.248:18]a84f9836-9111-4e45-a311-3dab39019e15
ms: 1590
>>
Background:
8152
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
8153
* def mystorage = Java.type('storage.DataStorage')
3
8154
* def db = new mystorage
1
8155
* def db = db.setfeature(karate.info.featureFileName)
1
8156
* def separator = java.lang.System.getProperty("file.separator")
1
8157
* def outputpath = db.outputpath()
1
8158
* eval db.ensureDirectory(outputpath)
1
8159
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8160
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8161
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8162
Given path 'geonetwork/srv/dut/inspire'
1
8163
And param service = 'CSW'
0
8164
And param version = '2.0.2'
0
8165
And param request = 'GetRecordById'
0
8166
And param id = 'a84f9836-9111-4e45-a311-3dab39019e15'
0
8167
And param elementsetname = 'full'
0
8168
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8169
When method get
1574
8170
Then status 200
0
8171
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a84f9836-9111-4e45-a311-3dab39019e15'
1
8172
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8173
* def title = get response //citation/CI_Citation/title/CharacterString
1
8174
* def email = get response //electronicMailAddress/CharacterString
2
8175
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8176
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8177
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8178
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8179
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8180
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
8181
* print organisationpath
0
06:39:58.153 [print] Beheer PDOK
8182
* print operateson
0
06:39:58.153 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=eu-2c7040b-c448-451b-bf15-f2416ecaadd1#MD_DataIdentification
8183
* eval db.writeln('"a84f9836-9111-4e45-a311-3dab39019e15","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
8184
* eval db.writeln('"a84f9836-9111-4e45-a311-3dab39019e15","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
6
Scenario Outline: [1.249:18]ff9315c8-f25a-4d01-9245-5cf058314ebf
ms: 1600
>>
Background:
8185
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
8186
* def mystorage = Java.type('storage.DataStorage')
3
8187
* def db = new mystorage
1
8188
* def db = db.setfeature(karate.info.featureFileName)
1
8189
* def separator = java.lang.System.getProperty("file.separator")
1
8190
* def outputpath = db.outputpath()
1
8191
* eval db.ensureDirectory(outputpath)
1
8192
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8193
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8194
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8195
Given path 'geonetwork/srv/dut/inspire'
1
8196
And param service = 'CSW'
0
8197
And param version = '2.0.2'
0
8198
And param request = 'GetRecordById'
0
8199
And param id = 'ff9315c8-f25a-4d01-9245-5cf058314ebf'
0
8200
And param elementsetname = 'full'
0
8201
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8202
When method get
1591
8203
Then status 200
0
8204
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ff9315c8-f25a-4d01-9245-5cf058314ebf'
1
8205
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8206
* def title = get response //citation/CI_Citation/title/CharacterString
0
8207
* def email = get response //electronicMailAddress/CharacterString
0
8208
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8209
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8210
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
8211
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8212
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8213
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8214
* print organisationpath
0
06:39:58.249 [print] Beheer PDOK
8215
* print operateson
0
06:39:58.249 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=a29917b9-3426-4041-a11b-69bcb2256904&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
8216
* eval db.writeln('"ff9315c8-f25a-4d01-9245-5cf058314ebf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
8217
* eval db.writeln('"ff9315c8-f25a-4d01-9245-5cf058314ebf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.250:18]97cf6a64-9cfc-4ce6-9741-2db44fd27fca
ms: 1666
>>
Background:
8218
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
8219
* def mystorage = Java.type('storage.DataStorage')
3
8220
* def db = new mystorage
1
8221
* def db = db.setfeature(karate.info.featureFileName)
1
8222
* def separator = java.lang.System.getProperty("file.separator")
1
8223
* def outputpath = db.outputpath()
1
8224
* eval db.ensureDirectory(outputpath)
1
8225
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8226
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8227
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8228
Given path 'geonetwork/srv/dut/inspire'
0
8229
And param service = 'CSW'
0
8230
And param version = '2.0.2'
0
8231
And param request = 'GetRecordById'
0
8232
And param id = '97cf6a64-9cfc-4ce6-9741-2db44fd27fca'
0
8233
And param elementsetname = 'full'
0
8234
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8235
When method get
1654
8236
Then status 200
0
8237
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '97cf6a64-9cfc-4ce6-9741-2db44fd27fca'
1
8238
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8239
* def title = get response //citation/CI_Citation/title/CharacterString
0
8240
* def email = get response //electronicMailAddress/CharacterString
0
8241
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
8242
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8243
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8244
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8245
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8246
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8247
* print organisationpath
0
06:39:58.351 [print]
8248
* print operateson
0
06:39:58.351 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=a29917b9-3426-4041-a11b-69bcb2256904&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
8249
* eval db.writeln('"97cf6a64-9cfc-4ce6-9741-2db44fd27fca","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
8250
* eval db.writeln('"97cf6a64-9cfc-4ce6-9741-2db44fd27fca","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
5
Scenario Outline: [1.251:18]6ff5af41-4cb0-406a-a77c-a4cf4223cbc7
ms: 1670
>>
Background:
8251
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
8252
* def mystorage = Java.type('storage.DataStorage')
3
8253
* def db = new mystorage
1
8254
* def db = db.setfeature(karate.info.featureFileName)
1
8255
* def separator = java.lang.System.getProperty("file.separator")
1
8256
* def outputpath = db.outputpath()
1
8257
* eval db.ensureDirectory(outputpath)
1
8258
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8259
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8260
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8261
Given path 'geonetwork/srv/dut/inspire'
13
8262
And param service = 'CSW'
0
8263
And param version = '2.0.2'
0
8264
And param request = 'GetRecordById'
0
8265
And param id = '6ff5af41-4cb0-406a-a77c-a4cf4223cbc7'
1
8266
And param elementsetname = 'full'
0
8267
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8268
When method get
1646
8269
Then status 200
0
8270
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6ff5af41-4cb0-406a-a77c-a4cf4223cbc7'
2
8271
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8272
* def title = get response //citation/CI_Citation/title/CharacterString
1
8273
* def email = get response //electronicMailAddress/CharacterString
0
8274
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8275
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8276
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8277
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8278
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8279
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
8280
* print organisationpath
0
06:39:58.419 [print] Beheer PDOK
8281
* print operateson
0
06:39:58.419 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=6cde2ce7-3ecd-4785-b7b8-d62c3381efe9#MD_DataIdentification
8282
* eval db.writeln('"6ff5af41-4cb0-406a-a77c-a4cf4223cbc7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
8283
* eval db.writeln('"6ff5af41-4cb0-406a-a77c-a4cf4223cbc7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.252:18]9699058e-707e-41df-93b5-ff75654d32b2
ms: 1562
>>
Background:
8284
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
8285
* def mystorage = Java.type('storage.DataStorage')
3
8286
* def db = new mystorage
1
8287
* def db = db.setfeature(karate.info.featureFileName)
1
8288
* def separator = java.lang.System.getProperty("file.separator")
1
8289
* def outputpath = db.outputpath()
1
8290
* eval db.ensureDirectory(outputpath)
1
8291
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8292
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8293
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8294
Given path 'geonetwork/srv/dut/inspire'
0
8295
And param service = 'CSW'
0
8296
And param version = '2.0.2'
0
8297
And param request = 'GetRecordById'
0
8298
And param id = '9699058e-707e-41df-93b5-ff75654d32b2'
1
8299
And param elementsetname = 'full'
0
8300
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8301
When method get
1552
8302
Then status 200
0
8303
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9699058e-707e-41df-93b5-ff75654d32b2'
1
8304
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8305
* def title = get response //citation/CI_Citation/title/CharacterString
0
8306
* def email = get response //electronicMailAddress/CharacterString
0
8307
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8308
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8309
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8310
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8311
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8312
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
8313
* print organisationpath
0
06:39:58.464 [print] Beheer PDOK
8314
* print operateson
0
06:39:58.464 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=71c2b7d2-a1a8-4836-b8d4-7247d331b04d#MD_DataIdentification
8315
* eval db.writeln('"9699058e-707e-41df-93b5-ff75654d32b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
8316
* eval db.writeln('"9699058e-707e-41df-93b5-ff75654d32b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.253:18]e258f171-6f56-4d4d-8311-027b30213c2d
ms: 1776
>>
Background:
8317
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
8318
* def mystorage = Java.type('storage.DataStorage')
3
8319
* def db = new mystorage
1
8320
* def db = db.setfeature(karate.info.featureFileName)
1
8321
* def separator = java.lang.System.getProperty("file.separator")
1
8322
* def outputpath = db.outputpath()
1
8323
* eval db.ensureDirectory(outputpath)
1
8324
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8325
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8326
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8327
Given path 'geonetwork/srv/dut/inspire'
0
8328
And param service = 'CSW'
0
8329
And param version = '2.0.2'
0
8330
And param request = 'GetRecordById'
0
8331
And param id = 'e258f171-6f56-4d4d-8311-027b30213c2d'
1
8332
And param elementsetname = 'full'
0
8333
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8334
When method get
1767
8335
Then status 200
0
8336
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e258f171-6f56-4d4d-8311-027b30213c2d'
1
8337
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8338
* def title = get response //citation/CI_Citation/title/CharacterString
0
8339
* def email = get response //electronicMailAddress/CharacterString
0
8340
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
8341
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8342
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8343
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8344
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8345
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8346
* print organisationpath
0
06:39:58.687 [print]
8347
* print operateson
0
06:39:58.687 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e80ad426-1392-4349-9f80-14dae5f1bf57#MD_DataIdentification
8348
* eval db.writeln('"e258f171-6f56-4d4d-8311-027b30213c2d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
8349
* eval db.writeln('"e258f171-6f56-4d4d-8311-027b30213c2d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.254:18]bd14098b-44e6-47e5-959d-f40dda65da5a
ms: 1569
>>
Background:
8350
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
8351
* def mystorage = Java.type('storage.DataStorage')
3
8352
* def db = new mystorage
1
8353
* def db = db.setfeature(karate.info.featureFileName)
1
8354
* def separator = java.lang.System.getProperty("file.separator")
1
8355
* def outputpath = db.outputpath()
1
8356
* eval db.ensureDirectory(outputpath)
1
8357
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8358
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8359
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8360
Given path 'geonetwork/srv/dut/inspire'
2
8361
And param service = 'CSW'
0
8362
And param version = '2.0.2'
0
8363
And param request = 'GetRecordById'
0
8364
And param id = 'bd14098b-44e6-47e5-959d-f40dda65da5a'
1
8365
And param elementsetname = 'full'
0
8366
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8367
When method get
1556
8368
Then status 200
0
8369
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'bd14098b-44e6-47e5-959d-f40dda65da5a'
1
8370
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8371
* def title = get response //citation/CI_Citation/title/CharacterString
0
8372
* def email = get response //electronicMailAddress/CharacterString
0
8373
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8374
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8375
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8376
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
8377
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
8378
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
8379
* print organisationpath
0
06:39:58.590 [print]
8380
* print operateson
0
06:39:58.590 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d9baa847-4652-4588-abe1-0b050f40f27f#MD_DataIdentification
8381
* eval db.writeln('"bd14098b-44e6-47e5-959d-f40dda65da5a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
8382
* eval db.writeln('"bd14098b-44e6-47e5-959d-f40dda65da5a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.255:18]d7bc97fa-6b4a-4321-a7c4-cd621bc0be77
ms: 1717
>>
Background:
8383
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
8384
* def mystorage = Java.type('storage.DataStorage')
3
8385
* def db = new mystorage
1
8386
* def db = db.setfeature(karate.info.featureFileName)
1
8387
* def separator = java.lang.System.getProperty("file.separator")
1
8388
* def outputpath = db.outputpath()
1
8389
* eval db.ensureDirectory(outputpath)
1
8390
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8391
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8392
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8393
Given path 'geonetwork/srv/dut/inspire'
1
8394
And param service = 'CSW'
0
8395
And param version = '2.0.2'
0
8396
And param request = 'GetRecordById'
0
8397
And param id = 'd7bc97fa-6b4a-4321-a7c4-cd621bc0be77'
1
8398
And param elementsetname = 'full'
0
8399
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8400
When method get
1707
8401
Then status 200
0
8402
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd7bc97fa-6b4a-4321-a7c4-cd621bc0be77'
1
8403
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8404
* def title = get response //citation/CI_Citation/title/CharacterString
0
8405
* def email = get response //electronicMailAddress/CharacterString
0
8406
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
8407
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8408
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8409
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8410
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8411
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8412
* print organisationpath
0
06:39:58.799 [print] Beheer PDOK
8413
* print operateson
0
06:39:58.799 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e80ad426-1392-4349-9f80-14dae5f1bf57#MD_DataIdentification
8414
* eval db.writeln('"d7bc97fa-6b4a-4321-a7c4-cd621bc0be77","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
8415
* eval db.writeln('"d7bc97fa-6b4a-4321-a7c4-cd621bc0be77","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.256:18]bc0b75c6-3eef-49de-aca2-8483024903c1
ms: 1755
>>
Background:
8416
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
8417
* def mystorage = Java.type('storage.DataStorage')
3
8418
* def db = new mystorage
1
8419
* def db = db.setfeature(karate.info.featureFileName)
1
8420
* def separator = java.lang.System.getProperty("file.separator")
1
8421
* def outputpath = db.outputpath()
1
8422
* eval db.ensureDirectory(outputpath)
1
8423
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8424
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8425
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8426
Given path 'geonetwork/srv/dut/inspire'
3
8427
And param service = 'CSW'
2
8428
And param version = '2.0.2'
0
8429
And param request = 'GetRecordById'
0
8430
And param id = 'bc0b75c6-3eef-49de-aca2-8483024903c1'
0
8431
And param elementsetname = 'full'
0
8432
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8433
When method get
1741
8434
Then status 200
0
8435
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'bc0b75c6-3eef-49de-aca2-8483024903c1'
1
8436
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8437
* def title = get response //citation/CI_Citation/title/CharacterString
0
8438
* def email = get response //electronicMailAddress/CharacterString
0
8439
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8440
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8441
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8442
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8443
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8444
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
8445
* print organisationpath
0
06:39:58.879 [print] Beheer PDOK
8446
* print operateson
0
06:39:58.879 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=19165027-a13a-4c19-9013-ec1fd191019d#MD_DataIdentification
8447
* eval db.writeln('"bc0b75c6-3eef-49de-aca2-8483024903c1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
8448
* eval db.writeln('"bc0b75c6-3eef-49de-aca2-8483024903c1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.257:18]efb5222c-112a-4c57-9bbf-f2af918cb9b5
ms: 1778
>>
Background:
8449
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
8450
* def mystorage = Java.type('storage.DataStorage')
3
8451
* def db = new mystorage
1
8452
* def db = db.setfeature(karate.info.featureFileName)
1
8453
* def separator = java.lang.System.getProperty("file.separator")
1
8454
* def outputpath = db.outputpath()
1
8455
* eval db.ensureDirectory(outputpath)
1
8456
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8457
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8458
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8459
Given path 'geonetwork/srv/dut/inspire'
2
8460
And param service = 'CSW'
0
8461
And param version = '2.0.2'
0
8462
And param request = 'GetRecordById'
0
8463
And param id = 'efb5222c-112a-4c57-9bbf-f2af918cb9b5'
1
8464
And param elementsetname = 'full'
3
8465
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8466
When method get
1763
8467
Then status 200
0
8468
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'efb5222c-112a-4c57-9bbf-f2af918cb9b5'
1
8469
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8470
* def title = get response //citation/CI_Citation/title/CharacterString
0
8471
* def email = get response //electronicMailAddress/CharacterString
1
8472
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
8473
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8474
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8475
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8476
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8477
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8478
* print organisationpath
0
06:39:58.904 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
8479
* print operateson
0
06:39:58.904 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4cda487b-c467-490c-a843-6563fec016be#MD_DataIdentification
8480
* eval db.writeln('"efb5222c-112a-4c57-9bbf-f2af918cb9b5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
8481
* eval db.writeln('"efb5222c-112a-4c57-9bbf-f2af918cb9b5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.258:18]5471a93b-cf18-43f5-9ddb-71987857435d
ms: 1621
>>
Background:
8482
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
8483
* def mystorage = Java.type('storage.DataStorage')
3
8484
* def db = new mystorage
1
8485
* def db = db.setfeature(karate.info.featureFileName)
1
8486
* def separator = java.lang.System.getProperty("file.separator")
1
8487
* def outputpath = db.outputpath()
1
8488
* eval db.ensureDirectory(outputpath)
1
8489
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8490
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8491
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8492
Given path 'geonetwork/srv/dut/inspire'
0
8493
And param service = 'CSW'
0
8494
And param version = '2.0.2'
0
8495
And param request = 'GetRecordById'
0
8496
And param id = '5471a93b-cf18-43f5-9ddb-71987857435d'
0
8497
And param elementsetname = 'full'
0
8498
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8499
When method get
1610
8500
Then status 200
0
8501
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5471a93b-cf18-43f5-9ddb-71987857435d'
1
8502
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8503
* def title = get response //citation/CI_Citation/title/CharacterString
1
8504
* def email = get response //electronicMailAddress/CharacterString
0
8505
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8506
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8507
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8508
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8509
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8510
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8511
* print organisationpath
0
06:39:58.859 [print] TNO Geologische Dienst Nederland
8512
* print operateson
0
06:39:58.859 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=6050578f-0010-4bfa-b013-c8617b80ba62&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
8513
* eval db.writeln('"5471a93b-cf18-43f5-9ddb-71987857435d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
8514
* eval db.writeln('"5471a93b-cf18-43f5-9ddb-71987857435d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.259:18]d7d19437-f875-45b3-86cd-2fa3335479ec
ms: 1663
>>
Background:
8515
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
8516
* def mystorage = Java.type('storage.DataStorage')
3
8517
* def db = new mystorage
1
8518
* def db = db.setfeature(karate.info.featureFileName)
1
8519
* def separator = java.lang.System.getProperty("file.separator")
1
8520
* def outputpath = db.outputpath()
1
8521
* eval db.ensureDirectory(outputpath)
1
8522
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8523
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8524
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8525
Given path 'geonetwork/srv/dut/inspire'
0
8526
And param service = 'CSW'
0
8527
And param version = '2.0.2'
0
8528
And param request = 'GetRecordById'
0
8529
And param id = 'd7d19437-f875-45b3-86cd-2fa3335479ec'
0
8530
And param elementsetname = 'full'
0
8531
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8532
When method get
1653
8533
Then status 200
0
8534
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd7d19437-f875-45b3-86cd-2fa3335479ec'
1
8535
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8536
* def title = get response //citation/CI_Citation/title/CharacterString
0
8537
* def email = get response //electronicMailAddress/CharacterString
0
8538
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8539
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8540
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8541
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8542
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8543
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8544
* print organisationpath
0
06:39:58.976 [print] Beheer PDOK
8545
* print operateson
0
06:39:58.976 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=247a1d15-0a67-40ce-85be-1403c08f15a8#MD_DataIdentification
8546
* eval db.writeln('"d7d19437-f875-45b3-86cd-2fa3335479ec","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
8547
* eval db.writeln('"d7d19437-f875-45b3-86cd-2fa3335479ec","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.260:18]6bd9f72e-dcd2-11e3-ab0a-901b0e19e163
ms: 1735
>>
Background:
8548
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
8549
* def mystorage = Java.type('storage.DataStorage')
3
8550
* def db = new mystorage
1
8551
* def db = db.setfeature(karate.info.featureFileName)
1
8552
* def separator = java.lang.System.getProperty("file.separator")
1
8553
* def outputpath = db.outputpath()
1
8554
* eval db.ensureDirectory(outputpath)
1
8555
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8556
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8557
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8558
Given path 'geonetwork/srv/dut/inspire'
0
8559
And param service = 'CSW'
0
8560
And param version = '2.0.2'
0
8561
And param request = 'GetRecordById'
0
8562
And param id = '6bd9f72e-dcd2-11e3-ab0a-901b0e19e163'
1
8563
And param elementsetname = 'full'
0
8564
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8565
When method get
1716
8566
Then status 200
0
8567
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6bd9f72e-dcd2-11e3-ab0a-901b0e19e163'
1
8568
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8569
* def title = get response //citation/CI_Citation/title/CharacterString
1
8570
* def email = get response //electronicMailAddress/CharacterString
1
8571
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8572
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8573
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8574
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8575
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8576
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
8577
* print organisationpath
0
06:39:59.067 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI)
8578
* print operateson
0
06:39:59.067 [print] http://data.knmi.nl/inspire/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=380aa01e-dce7-11e3-9f07-901b0e19e163&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full
8579
* eval db.writeln('"6bd9f72e-dcd2-11e3-ab0a-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
8580
* eval db.writeln('"6bd9f72e-dcd2-11e3-ab0a-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
11
Scenario Outline: [1.261:18]c78a99eb-9ba3-4307-a21b-2a64ad5da039
ms: 1571
>>
Background:
8581
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
8582
* def mystorage = Java.type('storage.DataStorage')
3
8583
* def db = new mystorage
1
8584
* def db = db.setfeature(karate.info.featureFileName)
1
8585
* def separator = java.lang.System.getProperty("file.separator")
1
8586
* def outputpath = db.outputpath()
1
8587
* eval db.ensureDirectory(outputpath)
1
8588
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8589
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8590
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8591
Given path 'geonetwork/srv/dut/inspire'
0
8592
And param service = 'CSW'
0
8593
And param version = '2.0.2'
0
8594
And param request = 'GetRecordById'
0
8595
And param id = 'c78a99eb-9ba3-4307-a21b-2a64ad5da039'
66
8596
And param elementsetname = 'full'
0
8597
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8598
When method get
1497
8599
Then status 200
0
8600
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c78a99eb-9ba3-4307-a21b-2a64ad5da039'
1
8601
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8602
* def title = get response //citation/CI_Citation/title/CharacterString
0
8603
* def email = get response //electronicMailAddress/CharacterString
0
8604
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8605
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8606
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8607
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8608
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8609
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8610
* print organisationpath
0
06:39:59.093 [print] Beheer PDOK
8611
* print operateson
0
06:39:59.093 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=a04afee4-47d5-45b7-b7a0-a6f86106af11#MD_DataIdentification
8612
* eval db.writeln('"c78a99eb-9ba3-4307-a21b-2a64ad5da039","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
8613
* eval db.writeln('"c78a99eb-9ba3-4307-a21b-2a64ad5da039","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.262:18]93c8762c-4cbb-42b0-9b02-89ef902e8880
ms: 1472
>>
Background:
8614
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
8615
* def mystorage = Java.type('storage.DataStorage')
3
8616
* def db = new mystorage
1
8617
* def db = db.setfeature(karate.info.featureFileName)
1
8618
* def separator = java.lang.System.getProperty("file.separator")
1
8619
* def outputpath = db.outputpath()
1
8620
* eval db.ensureDirectory(outputpath)
1
8621
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8622
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8623
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8624
Given path 'geonetwork/srv/dut/inspire'
0
8625
And param service = 'CSW'
0
8626
And param version = '2.0.2'
0
8627
And param request = 'GetRecordById'
0
8628
And param id = '93c8762c-4cbb-42b0-9b02-89ef902e8880'
0
8629
And param elementsetname = 'full'
0
8630
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8631
When method get
1461
8632
Then status 200
0
8633
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '93c8762c-4cbb-42b0-9b02-89ef902e8880'
2
8634
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8635
* def title = get response //citation/CI_Citation/title/CharacterString
0
8636
* def email = get response //electronicMailAddress/CharacterString
0
8637
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
8638
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8639
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8640
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8641
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8642
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8643
* print organisationpath
0
06:39:59.076 [print] Beheer PDOK
8644
* print operateson
0
06:39:59.077 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=49ab8bee-b467-486a-96ca-b950443c453a#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=f002bfc5-7d87-46b6-819e-8415422b65c9#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=f0821bfe-5a0a-11e9-8647-d663bd873d93#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=60a2a7c2-d5b3-4ad5-b562-c448695357fb#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=c7d8d77b-8c47-4309-8c58-9b12b086407f#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=ca94a0cb-7561-4a10-a7d6-b840e56c33ff#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=cc408b2d-09a6-4b2b-9aa3-b46bfe2f00a5#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=998ba1dc-f6a6-49a3-a021-51f30d9b1d0e#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=49ab8bee-b467-486a-96ca-b950443c453a#MD_DataIdentification" ]
8645
* eval db.writeln('"93c8762c-4cbb-42b0-9b02-89ef902e8880","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
8646
* eval db.writeln('"93c8762c-4cbb-42b0-9b02-89ef902e8880","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.263:18]f20e948e-9e22-4b5a-96a1-f3cc1d16b808
ms: 1567
>>
Background:
8647
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
8648
* def mystorage = Java.type('storage.DataStorage')
3
8649
* def db = new mystorage
1
8650
* def db = db.setfeature(karate.info.featureFileName)
1
8651
* def separator = java.lang.System.getProperty("file.separator")
1
8652
* def outputpath = db.outputpath()
1
8653
* eval db.ensureDirectory(outputpath)
1
8654
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8655
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8656
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8657
Given path 'geonetwork/srv/dut/inspire'
1
8658
And param service = 'CSW'
0
8659
And param version = '2.0.2'
0
8660
And param request = 'GetRecordById'
0
8661
And param id = 'f20e948e-9e22-4b5a-96a1-f3cc1d16b808'
0
8662
And param elementsetname = 'full'
0
8663
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8664
When method get
1556
8665
Then status 200
0
8666
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f20e948e-9e22-4b5a-96a1-f3cc1d16b808'
1
8667
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8668
* def title = get response //citation/CI_Citation/title/CharacterString
1
8669
* def email = get response //electronicMailAddress/CharacterString
1
8670
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8671
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8672
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8673
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8674
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8675
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
8676
* print organisationpath
0
06:39:59.319 [print] Beheer PDOK
8677
* print operateson
0
06:39:59.319 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5a1adb58-0bbe-425d-b0fe-577a6c0a4228#MD_DataIdentification
8678
* eval db.writeln('"f20e948e-9e22-4b5a-96a1-f3cc1d16b808","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
8679
* eval db.writeln('"f20e948e-9e22-4b5a-96a1-f3cc1d16b808","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.264:18]e264c1e4-90fe-4968-bbf2-7019f6095348
ms: 1569
>>
Background:
8680
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
8681
* def mystorage = Java.type('storage.DataStorage')
3
8682
* def db = new mystorage
1
8683
* def db = db.setfeature(karate.info.featureFileName)
1
8684
* def separator = java.lang.System.getProperty("file.separator")
1
8685
* def outputpath = db.outputpath()
1
8686
* eval db.ensureDirectory(outputpath)
1
8687
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8688
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8689
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8690
Given path 'geonetwork/srv/dut/inspire'
0
8691
And param service = 'CSW'
0
8692
And param version = '2.0.2'
0
8693
And param request = 'GetRecordById'
0
8694
And param id = 'e264c1e4-90fe-4968-bbf2-7019f6095348'
0
8695
And param elementsetname = 'full'
0
8696
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8697
When method get
1557
8698
Then status 200
0
8699
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e264c1e4-90fe-4968-bbf2-7019f6095348'
2
8700
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8701
* def title = get response //citation/CI_Citation/title/CharacterString
0
8702
* def email = get response //electronicMailAddress/CharacterString
0
8703
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8704
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8705
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8706
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8707
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8708
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
8709
* print organisationpath
0
06:39:59.362 [print] Beheer PDOK
8710
* print operateson
0
06:39:59.362 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c3c004ad-5387-4b00-a225-9afbcaa5d31b#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c3c004ad-5387-4b00-a225-9afbcaa5d31b#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c3c004ad-5387-4b00-a225-9afbcaa5d31b#MD_DataIdentification" ]
8711
* eval db.writeln('"e264c1e4-90fe-4968-bbf2-7019f6095348","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
8712
* eval db.writeln('"e264c1e4-90fe-4968-bbf2-7019f6095348","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.265:18]a7aeddf2-3b37-4668-9c75-de93d9326276
ms: 1568
>>
Background:
8713
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
8714
* def mystorage = Java.type('storage.DataStorage')
3
8715
* def db = new mystorage
1
8716
* def db = db.setfeature(karate.info.featureFileName)
1
8717
* def separator = java.lang.System.getProperty("file.separator")
1
8718
* def outputpath = db.outputpath()
1
8719
* eval db.ensureDirectory(outputpath)
1
8720
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8721
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8722
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8723
Given path 'geonetwork/srv/dut/inspire'
0
8724
And param service = 'CSW'
0
8725
And param version = '2.0.2'
0
8726
And param request = 'GetRecordById'
0
8727
And param id = 'a7aeddf2-3b37-4668-9c75-de93d9326276'
0
8728
And param elementsetname = 'full'
0
8729
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8730
When method get
1558
8731
Then status 200
0
8732
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a7aeddf2-3b37-4668-9c75-de93d9326276'
1
8733
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8734
* def title = get response //citation/CI_Citation/title/CharacterString
0
8735
* def email = get response //electronicMailAddress/CharacterString
0
8736
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8737
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8738
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8739
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8740
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8741
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8742
* print organisationpath
0
06:39:59.374 [print] Beheer PDOK
8743
* print operateson
0
06:39:59.374 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=280ed37a-b8d2-4ac5-8567-04d84fad3a41#MD_DataIdentification
8744
* eval db.writeln('"a7aeddf2-3b37-4668-9c75-de93d9326276","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
8745
* eval db.writeln('"a7aeddf2-3b37-4668-9c75-de93d9326276","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.266:18]c374d556-7b6e-459b-83c7-74da6ad90a59
ms: 1602
>>
Background:
8746
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
8747
* def mystorage = Java.type('storage.DataStorage')
3
8748
* def db = new mystorage
1
8749
* def db = db.setfeature(karate.info.featureFileName)
1
8750
* def separator = java.lang.System.getProperty("file.separator")
1
8751
* def outputpath = db.outputpath()
1
8752
* eval db.ensureDirectory(outputpath)
1
8753
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8754
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8755
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8756
Given path 'geonetwork/srv/dut/inspire'
0
8757
And param service = 'CSW'
0
8758
And param version = '2.0.2'
0
8759
And param request = 'GetRecordById'
0
8760
And param id = 'c374d556-7b6e-459b-83c7-74da6ad90a59'
0
8761
And param elementsetname = 'full'
0
8762
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8763
When method get
1592
8764
Then status 200
0
8765
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c374d556-7b6e-459b-83c7-74da6ad90a59'
2
8766
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8767
* def title = get response //citation/CI_Citation/title/CharacterString
0
8768
* def email = get response //electronicMailAddress/CharacterString
0
8769
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8770
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8771
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8772
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8773
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8774
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8775
* print organisationpath
0
06:39:59.459 [print] Beheer PDOK
8776
* print operateson
0
06:39:59.459 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=4783ea4f-6b8c-4600-8af0-516f3556cfe9#MD_DataIdentification
8777
* eval db.writeln('"c374d556-7b6e-459b-83c7-74da6ad90a59","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
8778
* eval db.writeln('"c374d556-7b6e-459b-83c7-74da6ad90a59","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.267:18]80e015fa-f0e1-487e-a7e8-84a5ba7c4e7a
ms: 1619
>>
Background:
8779
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
8780
* def mystorage = Java.type('storage.DataStorage')
3
8781
* def db = new mystorage
1
8782
* def db = db.setfeature(karate.info.featureFileName)
1
8783
* def separator = java.lang.System.getProperty("file.separator")
1
8784
* def outputpath = db.outputpath()
1
8785
* eval db.ensureDirectory(outputpath)
1
8786
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8787
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8788
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8789
Given path 'geonetwork/srv/dut/inspire'
0
8790
And param service = 'CSW'
0
8791
And param version = '2.0.2'
0
8792
And param request = 'GetRecordById'
0
8793
And param id = '80e015fa-f0e1-487e-a7e8-84a5ba7c4e7a'
1
8794
And param elementsetname = 'full'
0
8795
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8796
When method get
1609
8797
Then status 200
0
8798
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '80e015fa-f0e1-487e-a7e8-84a5ba7c4e7a'
1
8799
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8800
* def title = get response //citation/CI_Citation/title/CharacterString
0
8801
* def email = get response //electronicMailAddress/CharacterString
0
8802
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8803
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8804
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8805
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8806
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8807
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8808
* print organisationpath
0
06:39:59.522 [print] Beheer PDOK
8809
* print operateson
0
06:39:59.522 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=83dab947-387b-49df-8ad2-32bb10d46d38#MD_DataIdentification
8810
* eval db.writeln('"80e015fa-f0e1-487e-a7e8-84a5ba7c4e7a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
8811
* eval db.writeln('"80e015fa-f0e1-487e-a7e8-84a5ba7c4e7a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.268:18]c99b1291-c51f-49c8-902d-5bd4148cbbde
ms: 1749
>>
Background:
8812
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
8813
* def mystorage = Java.type('storage.DataStorage')
3
8814
* def db = new mystorage
1
8815
* def db = db.setfeature(karate.info.featureFileName)
1
8816
* def separator = java.lang.System.getProperty("file.separator")
1
8817
* def outputpath = db.outputpath()
1
8818
* eval db.ensureDirectory(outputpath)
1
8819
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8820
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8821
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8822
Given path 'geonetwork/srv/dut/inspire'
0
8823
And param service = 'CSW'
0
8824
And param version = '2.0.2'
0
8825
And param request = 'GetRecordById'
0
8826
And param id = 'c99b1291-c51f-49c8-902d-5bd4148cbbde'
0
8827
And param elementsetname = 'full'
0
8828
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8829
When method get
1739
8830
Then status 200
0
8831
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c99b1291-c51f-49c8-902d-5bd4148cbbde'
1
8832
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8833
* def title = get response //citation/CI_Citation/title/CharacterString
0
8834
* def email = get response //electronicMailAddress/CharacterString
0
8835
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8836
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8837
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8838
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8839
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8840
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8841
* print organisationpath
0
06:39:59.669 [print] Interprovinciaal Overleg
8842
* print operateson
0
06:39:59.669 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=88e2a6fa-b296-4ff4-bc30-fb87e2c1627e&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
8843
* eval db.writeln('"c99b1291-c51f-49c8-902d-5bd4148cbbde","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
8844
* eval db.writeln('"c99b1291-c51f-49c8-902d-5bd4148cbbde","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.269:18]adn573b0-bd3b-4d7b-a97d-e65841e6e0b1
ms: 1678
>>
Background:
8845
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
8846
* def mystorage = Java.type('storage.DataStorage')
3
8847
* def db = new mystorage
1
8848
* def db = db.setfeature(karate.info.featureFileName)
1
8849
* def separator = java.lang.System.getProperty("file.separator")
1
8850
* def outputpath = db.outputpath()
1
8851
* eval db.ensureDirectory(outputpath)
1
8852
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8853
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8854
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8855
Given path 'geonetwork/srv/dut/inspire'
0
8856
And param service = 'CSW'
0
8857
And param version = '2.0.2'
0
8858
And param request = 'GetRecordById'
0
8859
And param id = 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b1'
1
8860
And param elementsetname = 'full'
0
8861
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8862
When method get
1668
8863
Then status 200
0
8864
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b1'
1
8865
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8866
* def title = get response //citation/CI_Citation/title/CharacterString
0
8867
* def email = get response //electronicMailAddress/CharacterString
0
8868
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8869
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8870
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8871
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8872
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8873
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
8874
* print organisationpath
0
06:39:59.679 [print] Rijkswaterstaat
8875
* print operateson
0
06:39:59.680 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=adn73c4a-ef03-4785-b7f6-942e86b385f5#MD_DataIdentification
8876
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
8877
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.270:18]adn573b0-bd3b-4d7b-a97d-e65841e6e0b2
ms: 1843
>>
Background:
8878
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
8879
* def mystorage = Java.type('storage.DataStorage')
3
8880
* def db = new mystorage
1
8881
* def db = db.setfeature(karate.info.featureFileName)
1
8882
* def separator = java.lang.System.getProperty("file.separator")
1
8883
* def outputpath = db.outputpath()
1
8884
* eval db.ensureDirectory(outputpath)
1
8885
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8886
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8887
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8888
Given path 'geonetwork/srv/dut/inspire'
1
8889
And param service = 'CSW'
0
8890
And param version = '2.0.2'
0
8891
And param request = 'GetRecordById'
0
8892
And param id = 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b2'
1
8893
And param elementsetname = 'full'
0
8894
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8895
When method get
1822
8896
Then status 200
0
8897
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b2'
1
8898
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8899
* def title = get response //citation/CI_Citation/title/CharacterString
0
8900
* def email = get response //electronicMailAddress/CharacterString
0
8901
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8902
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8903
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8904
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8905
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8906
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8907
* print organisationpath
0
06:39:59.929 [print] Rijkswaterstaat
8908
* print operateson
0
06:39:59.929 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=adn73c4a-ef03-4785-b7f6-942e86b385f7#MD_DataIdentification
8909
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
8910
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
13
Scenario Outline: [1.271:18]adn573b0-bd3b-4d7b-a97d-e65841e6e0b4
ms: 1783
>>
Background:
8911
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
8912
* def mystorage = Java.type('storage.DataStorage')
3
8913
* def db = new mystorage
1
8914
* def db = db.setfeature(karate.info.featureFileName)
1
8915
* def separator = java.lang.System.getProperty("file.separator")
1
8916
* def outputpath = db.outputpath()
1
8917
* eval db.ensureDirectory(outputpath)
1
8918
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8919
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8920
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8921
Given path 'geonetwork/srv/dut/inspire'
0
8922
And param service = 'CSW'
0
8923
And param version = '2.0.2'
0
8924
And param request = 'GetRecordById'
0
8925
And param id = 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b4'
0
8926
And param elementsetname = 'full'
0
8927
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8928
When method get
1774
8929
Then status 200
0
8930
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b4'
2
8931
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8932
* def title = get response //citation/CI_Citation/title/CharacterString
0
8933
* def email = get response //electronicMailAddress/CharacterString
0
8934
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8935
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8936
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8937
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8938
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8939
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8940
* print organisationpath
0
06:39:59.939 [print] Rijkswaterstaat
8941
* print operateson
0
06:39:59.939 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?SERVICE=csw&VERSION=2.0.2&REQUEST=GetRecordById&ID=adn73c4a-ef03-4785-b7f6-942e86b385f7&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
8942
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
8943
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.272:18]adn573b0-bd3b-4d7b-a97d-e65841e6e0b3
ms: 1855
>>
Background:
8944
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
8945
* def mystorage = Java.type('storage.DataStorage')
3
8946
* def db = new mystorage
1
8947
* def db = db.setfeature(karate.info.featureFileName)
1
8948
* def separator = java.lang.System.getProperty("file.separator")
1
8949
* def outputpath = db.outputpath()
1
8950
* eval db.ensureDirectory(outputpath)
1
8951
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8952
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8953
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8954
Given path 'geonetwork/srv/dut/inspire'
0
8955
And param service = 'CSW'
0
8956
And param version = '2.0.2'
0
8957
And param request = 'GetRecordById'
0
8958
And param id = 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b3'
0
8959
And param elementsetname = 'full'
0
8960
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8961
When method get
1845
8962
Then status 200
0
8963
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b3'
1
8964
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8965
* def title = get response //citation/CI_Citation/title/CharacterString
0
8966
* def email = get response //electronicMailAddress/CharacterString
0
8967
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8968
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8969
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8970
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8971
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8972
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8973
* print organisationpath
0
06:40:00.012 [print] Rijkswaterstaat
8974
* print operateson
0
06:40:00.012 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=adn73c4a-ef03-4785-b7f6-942e86b385f5#MD_DataIdentification
8975
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
8976
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.273:18]wt-83730-e750-485a-9c0c-39bf9bt72cf8
ms: 1825
>>
Background:
8977
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
8978
* def mystorage = Java.type('storage.DataStorage')
3
8979
* def db = new mystorage
1
8980
* def db = db.setfeature(karate.info.featureFileName)
1
8981
* def separator = java.lang.System.getProperty("file.separator")
1
8982
* def outputpath = db.outputpath()
1
8983
* eval db.ensureDirectory(outputpath)
1
8984
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8985
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8986
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8987
Given path 'geonetwork/srv/dut/inspire'
0
8988
And param service = 'CSW'
0
8989
And param version = '2.0.2'
0
8990
And param request = 'GetRecordById'
0
8991
And param id = 'wt-83730-e750-485a-9c0c-39bf9bt72cf8'
0
8992
And param elementsetname = 'full'
0
8993
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8994
When method get
1815
8995
Then status 200
0
8996
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-83730-e750-485a-9c0c-39bf9bt72cf8'
1
8997
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8998
* def title = get response //citation/CI_Citation/title/CharacterString
0
8999
* def email = get response //electronicMailAddress/CharacterString
0
9000
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9001
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9002
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9003
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9004
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9005
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9006
* print organisationpath
0
06:40:00.074 [print] Rijkswaterstaat
9007
* print operateson
0
06:40:00.074 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=wt-83730-e750-485a-9c0c-39bf9be72cf8#MD_DataIdentification
9008
* eval db.writeln('"wt-83730-e750-485a-9c0c-39bf9bt72cf8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
9009
* eval db.writeln('"wt-83730-e750-485a-9c0c-39bf9bt72cf8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.274:18]wt-f5eb-b09f-4f6d-8397-8878a1t86238
ms: 1836
>>
Background:
9010
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
9011
* def mystorage = Java.type('storage.DataStorage')
3
9012
* def db = new mystorage
1
9013
* def db = db.setfeature(karate.info.featureFileName)
1
9014
* def separator = java.lang.System.getProperty("file.separator")
1
9015
* def outputpath = db.outputpath()
1
9016
* eval db.ensureDirectory(outputpath)
1
9017
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9018
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9019
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9020
Given path 'geonetwork/srv/dut/inspire'
0
9021
And param service = 'CSW'
0
9022
And param version = '2.0.2'
0
9023
And param request = 'GetRecordById'
0
9024
And param id = 'wt-f5eb-b09f-4f6d-8397-8878a1t86238'
1
9025
And param elementsetname = 'full'
0
9026
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9027
When method get
1826
9028
Then status 200
0
9029
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-f5eb-b09f-4f6d-8397-8878a1t86238'
1
9030
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9031
* def title = get response //citation/CI_Citation/title/CharacterString
0
9032
* def email = get response //electronicMailAddress/CharacterString
0
9033
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9034
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9035
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9036
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9037
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9038
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9039
* print organisationpath
0
06:40:00.191 [print] Rijkswaterstaat
9040
* print operateson
0
06:40:00.191 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=wt-f5eb-b09f-4f6d-8397-8878a1b86238#MD_DataIdentification
9041
* eval db.writeln('"wt-f5eb-b09f-4f6d-8397-8878a1t86238","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
9042
* eval db.writeln('"wt-f5eb-b09f-4f6d-8397-8878a1t86238","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.275:18]wt-3730-e750-485a-9c0c-39bf9bt72cf9
ms: 1780
>>
Background:
9043
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
9044
* def mystorage = Java.type('storage.DataStorage')
3
9045
* def db = new mystorage
1
9046
* def db = db.setfeature(karate.info.featureFileName)
1
9047
* def separator = java.lang.System.getProperty("file.separator")
1
9048
* def outputpath = db.outputpath()
1
9049
* eval db.ensureDirectory(outputpath)
1
9050
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9051
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9052
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9053
Given path 'geonetwork/srv/dut/inspire'
0
9054
And param service = 'CSW'
0
9055
And param version = '2.0.2'
0
9056
And param request = 'GetRecordById'
0
9057
And param id = 'wt-3730-e750-485a-9c0c-39bf9bt72cf9'
1
9058
And param elementsetname = 'full'
0
9059
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9060
When method get
1770
9061
Then status 200
0
9062
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-3730-e750-485a-9c0c-39bf9bt72cf9'
1
9063
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9064
* def title = get response //citation/CI_Citation/title/CharacterString
0
9065
* def email = get response //electronicMailAddress/CharacterString
1
9066
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9067
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9068
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9069
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9070
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9071
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9072
* print organisationpath
0
06:40:00.200 [print] Rijkswaterstaat
9073
* print operateson
0
06:40:00.200 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=wt-3730-e750-485a-9c0c-39bf9be72cf9#MD_DataIdentification
9074
* eval db.writeln('"wt-3730-e750-485a-9c0c-39bf9bt72cf9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
9075
* eval db.writeln('"wt-3730-e750-485a-9c0c-39bf9bt72cf9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.276:18]wt-3730-e750-485a-9c0c-39bf9bf72cf9
ms: 1869
>>
Background:
9076
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
9077
* def mystorage = Java.type('storage.DataStorage')
3
9078
* def db = new mystorage
1
9079
* def db = db.setfeature(karate.info.featureFileName)
1
9080
* def separator = java.lang.System.getProperty("file.separator")
1
9081
* def outputpath = db.outputpath()
1
9082
* eval db.ensureDirectory(outputpath)
1
9083
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9084
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9085
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9086
Given path 'geonetwork/srv/dut/inspire'
0
9087
And param service = 'CSW'
0
9088
And param version = '2.0.2'
0
9089
And param request = 'GetRecordById'
0
9090
And param id = 'wt-3730-e750-485a-9c0c-39bf9bf72cf9'
1
9091
And param elementsetname = 'full'
0
9092
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9093
When method get
1859
9094
Then status 200
0
9095
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-3730-e750-485a-9c0c-39bf9bf72cf9'
1
9096
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9097
* def title = get response //citation/CI_Citation/title/CharacterString
0
9098
* def email = get response //electronicMailAddress/CharacterString
0
9099
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9100
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9101
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9102
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9103
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9104
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9105
* print organisationpath
0
06:40:00.333 [print] Rijkswaterstaat
9106
* print operateson
0
06:40:00.333 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?SERVICE=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=wt-3730-e750-485a-9c0c-39bf9be72cf9#MD_DataIdentification
9107
* eval db.writeln('"wt-3730-e750-485a-9c0c-39bf9bf72cf9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
9108
* eval db.writeln('"wt-3730-e750-485a-9c0c-39bf9bf72cf9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.277:18]wt-f5eb-b09f-4f6d-8397-8878a1f86238
ms: 1889
>>
Background:
9109
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
9110
* def mystorage = Java.type('storage.DataStorage')
3
9111
* def db = new mystorage
1
9112
* def db = db.setfeature(karate.info.featureFileName)
1
9113
* def separator = java.lang.System.getProperty("file.separator")
1
9114
* def outputpath = db.outputpath()
1
9115
* eval db.ensureDirectory(outputpath)
1
9116
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9117
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9118
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9119
Given path 'geonetwork/srv/dut/inspire'
0
9120
And param service = 'CSW'
0
9121
And param version = '2.0.2'
0
9122
And param request = 'GetRecordById'
0
9123
And param id = 'wt-f5eb-b09f-4f6d-8397-8878a1f86238'
1
9124
And param elementsetname = 'full'
0
9125
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9126
When method get
1879
9127
Then status 200
0
9128
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-f5eb-b09f-4f6d-8397-8878a1f86238'
1
9129
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9130
* def title = get response //citation/CI_Citation/title/CharacterString
1
9131
* def email = get response //electronicMailAddress/CharacterString
0
9132
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9133
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
9134
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
9135
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9136
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9137
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9138
* print organisationpath
0
06:40:00.480 [print] Rijkswaterstaat
9139
* print operateson
0
06:40:00.480 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?SERVICE=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=wt-f5eb-b09f-4f6d-8397-8878a1b86238#MD_DataIdentification
9140
* eval db.writeln('"wt-f5eb-b09f-4f6d-8397-8878a1f86238","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
9141
* eval db.writeln('"wt-f5eb-b09f-4f6d-8397-8878a1f86238","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.278:18]wt-83730-e750-485a-9c0c-39bf9bm72cf8
ms: 1825
>>
Background:
9142
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
9143
* def mystorage = Java.type('storage.DataStorage')
3
9144
* def db = new mystorage
1
9145
* def db = db.setfeature(karate.info.featureFileName)
1
9146
* def separator = java.lang.System.getProperty("file.separator")
1
9147
* def outputpath = db.outputpath()
1
9148
* eval db.ensureDirectory(outputpath)
1
9149
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9150
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9151
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9152
Given path 'geonetwork/srv/dut/inspire'
0
9153
And param service = 'CSW'
0
9154
And param version = '2.0.2'
0
9155
And param request = 'GetRecordById'
0
9156
And param id = 'wt-83730-e750-485a-9c0c-39bf9bm72cf8'
0
9157
And param elementsetname = 'full'
0
9158
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9159
When method get
1815
9160
Then status 200
0
9161
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-83730-e750-485a-9c0c-39bf9bm72cf8'
2
9162
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9163
* def title = get response //citation/CI_Citation/title/CharacterString
0
9164
* def email = get response //electronicMailAddress/CharacterString
1
9165
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9166
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9167
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9168
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9169
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9170
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9171
* print organisationpath
0
06:40:00.512 [print] Rijkswaterstaat
9172
* print operateson
0
06:40:00.512 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=wt-83730-e750-485a-9c0c-39bf9be72cf8#MD_DataIdentification
9173
* eval db.writeln('"wt-83730-e750-485a-9c0c-39bf9bm72cf8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
9174
* eval db.writeln('"wt-83730-e750-485a-9c0c-39bf9bm72cf8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.279:18]wt-f5eb-b09f-4f6d-8397-8878a1m86238
ms: 1696
>>
Background:
9175
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
9176
* def mystorage = Java.type('storage.DataStorage')
3
9177
* def db = new mystorage
1
9178
* def db = db.setfeature(karate.info.featureFileName)
1
9179
* def separator = java.lang.System.getProperty("file.separator")
1
9180
* def outputpath = db.outputpath()
1
9181
* eval db.ensureDirectory(outputpath)
1
9182
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9183
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9184
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9185
Given path 'geonetwork/srv/dut/inspire'
0
9186
And param service = 'CSW'
0
9187
And param version = '2.0.2'
0
9188
And param request = 'GetRecordById'
0
9189
And param id = 'wt-f5eb-b09f-4f6d-8397-8878a1m86238'
0
9190
And param elementsetname = 'full'
0
9191
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9192
When method get
1686
9193
Then status 200
0
9194
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-f5eb-b09f-4f6d-8397-8878a1m86238'
1
9195
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9196
* def title = get response //citation/CI_Citation/title/CharacterString
0
9197
* def email = get response //electronicMailAddress/CharacterString
1
9198
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9199
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9200
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9201
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9202
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9203
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9204
* print organisationpath
0
06:40:00.496 [print] Rijkswaterstaat
9205
* print operateson
0
06:40:00.496 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=wt-f5eb-b09f-4f6d-8397-8878a1b86238#MD_DataIdentification
9206
* eval db.writeln('"wt-f5eb-b09f-4f6d-8397-8878a1m86238","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
9207
* eval db.writeln('"wt-f5eb-b09f-4f6d-8397-8878a1m86238","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.280:18]wt-3730-e750-485a-9c0c-39bf9bm72cf9
ms: 1805
>>
Background:
9208
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
9209
* def mystorage = Java.type('storage.DataStorage')
3
9210
* def db = new mystorage
1
9211
* def db = db.setfeature(karate.info.featureFileName)
1
9212
* def separator = java.lang.System.getProperty("file.separator")
1
9213
* def outputpath = db.outputpath()
1
9214
* eval db.ensureDirectory(outputpath)
1
9215
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9216
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9217
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9218
Given path 'geonetwork/srv/dut/inspire'
0
9219
And param service = 'CSW'
0
9220
And param version = '2.0.2'
0
9221
And param request = 'GetRecordById'
0
9222
And param id = 'wt-3730-e750-485a-9c0c-39bf9bm72cf9'
0
9223
And param elementsetname = 'full'
0
9224
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9225
When method get
1796
9226
Then status 200
0
9227
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-3730-e750-485a-9c0c-39bf9bm72cf9'
1
9228
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9229
* def title = get response //citation/CI_Citation/title/CharacterString
0
9230
* def email = get response //electronicMailAddress/CharacterString
0
9231
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9232
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9233
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9234
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9235
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9236
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
9237
* print organisationpath
0
06:40:00.665 [print] Rijkswaterstaat
9238
* print operateson
0
06:40:00.665 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=wt-3730-e750-485a-9c0c-39bf9be72cf9#MD_DataIdentification
9239
* eval db.writeln('"wt-3730-e750-485a-9c0c-39bf9bm72cf9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
9240
* eval db.writeln('"wt-3730-e750-485a-9c0c-39bf9bm72cf9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.281:18]wt-83730-e750-485a-9c0c-39bf9bf72cf8
ms: 1810
>>
Background:
9241
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
9242
* def mystorage = Java.type('storage.DataStorage')
3
9243
* def db = new mystorage
1
9244
* def db = db.setfeature(karate.info.featureFileName)
1
9245
* def separator = java.lang.System.getProperty("file.separator")
1
9246
* def outputpath = db.outputpath()
1
9247
* eval db.ensureDirectory(outputpath)
1
9248
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9249
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9250
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9251
Given path 'geonetwork/srv/dut/inspire'
0
9252
And param service = 'CSW'
0
9253
And param version = '2.0.2'
0
9254
And param request = 'GetRecordById'
0
9255
And param id = 'wt-83730-e750-485a-9c0c-39bf9bf72cf8'
0
9256
And param elementsetname = 'full'
0
9257
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9258
When method get
1801
9259
Then status 200
0
9260
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-83730-e750-485a-9c0c-39bf9bf72cf8'
1
9261
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9262
* def title = get response //citation/CI_Citation/title/CharacterString
0
9263
* def email = get response //electronicMailAddress/CharacterString
0
9264
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9265
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9266
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9267
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9268
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9269
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9270
* print organisationpath
0
06:40:00.691 [print] Rijkswaterstaat
9271
* print operateson
0
06:40:00.691 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?SERVICE=csw&VERSION=2.0.2&REQUEST=GetRecordById&ID=wt-83730-e750-485a-9c0c-39bf9be72cf8&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
9272
* eval db.writeln('"wt-83730-e750-485a-9c0c-39bf9bf72cf8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
9273
* eval db.writeln('"wt-83730-e750-485a-9c0c-39bf9bf72cf8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.282:18]wt-f297898-2640-44c2-bbe9-c0480dt83794
ms: 1751
>>
Background:
9274
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
9275
* def mystorage = Java.type('storage.DataStorage')
3
9276
* def db = new mystorage
1
9277
* def db = db.setfeature(karate.info.featureFileName)
1
9278
* def separator = java.lang.System.getProperty("file.separator")
1
9279
* def outputpath = db.outputpath()
1
9280
* eval db.ensureDirectory(outputpath)
1
9281
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9282
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9283
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9284
Given path 'geonetwork/srv/dut/inspire'
0
9285
And param service = 'CSW'
0
9286
And param version = '2.0.2'
0
9287
And param request = 'GetRecordById'
0
9288
And param id = 'wt-f297898-2640-44c2-bbe9-c0480dt83794'
0
9289
And param elementsetname = 'full'
0
9290
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9291
When method get
1742
9292
Then status 200
0
9293
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-f297898-2640-44c2-bbe9-c0480dt83794'
1
9294
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9295
* def title = get response //citation/CI_Citation/title/CharacterString
0
9296
* def email = get response //electronicMailAddress/CharacterString
0
9297
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9298
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9299
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9300
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9301
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9302
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9303
* print organisationpath
0
06:40:00.657 [print] Rijkswaterstaat
9304
* print operateson
0
06:40:00.657 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=eu-f297898-2640-44c2-bbe9-c0480da83794#MD_DataIdentification
9305
* eval db.writeln('"wt-f297898-2640-44c2-bbe9-c0480dt83794","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
9306
* eval db.writeln('"wt-f297898-2640-44c2-bbe9-c0480dt83794","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.283:18]wt-f297898-2640-44c2-bbe9-c0480df83794
ms: 1810
>>
Background:
9307
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
9308
* def mystorage = Java.type('storage.DataStorage')
3
9309
* def db = new mystorage
1
9310
* def db = db.setfeature(karate.info.featureFileName)
1
9311
* def separator = java.lang.System.getProperty("file.separator")
1
9312
* def outputpath = db.outputpath()
1
9313
* eval db.ensureDirectory(outputpath)
1
9314
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9315
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9316
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9317
Given path 'geonetwork/srv/dut/inspire'
0
9318
And param service = 'CSW'
0
9319
And param version = '2.0.2'
0
9320
And param request = 'GetRecordById'
0
9321
And param id = 'wt-f297898-2640-44c2-bbe9-c0480df83794'
0
9322
And param elementsetname = 'full'
0
9323
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9324
When method get
1799
9325
Then status 200
0
9326
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-f297898-2640-44c2-bbe9-c0480df83794'
1
9327
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9328
* def title = get response //citation/CI_Citation/title/CharacterString
1
9329
* def email = get response //electronicMailAddress/CharacterString
1
9330
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9331
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9332
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9333
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9334
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9335
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
9336
* print organisationpath
0
06:40:00.787 [print] Rijkswaterstaat
9337
* print operateson
0
06:40:00.787 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=eu-f297898-2640-44c2-bbe9-c0480da83794#MD_DataIdentification
9338
* eval db.writeln('"wt-f297898-2640-44c2-bbe9-c0480df83794","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
9339
* eval db.writeln('"wt-f297898-2640-44c2-bbe9-c0480df83794","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.284:18]wt-f297898-2640-44c2-bbe9-c0480dm83794
ms: 1855
>>
Background:
9340
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
9341
* def mystorage = Java.type('storage.DataStorage')
3
9342
* def db = new mystorage
1
9343
* def db = db.setfeature(karate.info.featureFileName)
1
9344
* def separator = java.lang.System.getProperty("file.separator")
1
9345
* def outputpath = db.outputpath()
1
9346
* eval db.ensureDirectory(outputpath)
1
9347
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9348
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9349
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9350
Given path 'geonetwork/srv/dut/inspire'
3
9351
And param service = 'CSW'
0
9352
And param version = '2.0.2'
0
9353
And param request = 'GetRecordById'
0
9354
And param id = 'wt-f297898-2640-44c2-bbe9-c0480dm83794'
1
9355
And param elementsetname = 'full'
0
9356
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9357
When method get
1842
9358
Then status 200
0
9359
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-f297898-2640-44c2-bbe9-c0480dm83794'
1
9360
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9361
* def title = get response //citation/CI_Citation/title/CharacterString
0
9362
* def email = get response //electronicMailAddress/CharacterString
0
9363
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9364
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9365
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9366
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9367
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9368
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9369
* print organisationpath
0
06:40:00.931 [print] Rijkswaterstaat
9370
* print operateson
0
06:40:00.932 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=eu-f297898-2640-44c2-bbe9-c0480da83794#MD_DataIdentification
9371
* eval db.writeln('"wt-f297898-2640-44c2-bbe9-c0480dm83794","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
9372
* eval db.writeln('"wt-f297898-2640-44c2-bbe9-c0480dm83794","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.285:18]tbjk534p-wubf-crbp-cj25-d41611f0gfim
ms: 1927
>>
Background:
9373
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
9374
* def mystorage = Java.type('storage.DataStorage')
3
9375
* def db = new mystorage
1
9376
* def db = db.setfeature(karate.info.featureFileName)
1
9377
* def separator = java.lang.System.getProperty("file.separator")
1
9378
* def outputpath = db.outputpath()
1
9379
* eval db.ensureDirectory(outputpath)
1
9380
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9381
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9382
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9383
Given path 'geonetwork/srv/dut/inspire'
0
9384
And param service = 'CSW'
0
9385
And param version = '2.0.2'
0
9386
And param request = 'GetRecordById'
0
9387
And param id = 'tbjk534p-wubf-crbp-cj25-d41611f0gfim'
0
9388
And param elementsetname = 'full'
0
9389
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9390
When method get
1915
9391
Then status 200
0
9392
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'tbjk534p-wubf-crbp-cj25-d41611f0gfim'
2
9393
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9394
* def title = get response //citation/CI_Citation/title/CharacterString
1
9395
* def email = get response //electronicMailAddress/CharacterString
1
9396
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9397
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
9398
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
9399
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
9400
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
9401
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
9402
* print organisationpath
0
06:40:01.005 [print] Rijkswaterstaat
9403
* print operateson
0
06:40:01.005 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&ID=tbjk534p-wubf-crbp-cj25-d4161160gfim&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
9404
* eval db.writeln('"tbjk534p-wubf-crbp-cj25-d41611f0gfim","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
9405
* eval db.writeln('"tbjk534p-wubf-crbp-cj25-d41611f0gfim","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.286:18]tbjk534p-wubf-crbp-cj25-d41611m0gfim
ms: 1947
>>
Background:
9406
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
9407
* def mystorage = Java.type('storage.DataStorage')
3
9408
* def db = new mystorage
1
9409
* def db = db.setfeature(karate.info.featureFileName)
1
9410
* def separator = java.lang.System.getProperty("file.separator")
1
9411
* def outputpath = db.outputpath()
1
9412
* eval db.ensureDirectory(outputpath)
1
9413
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9414
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9415
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9416
Given path 'geonetwork/srv/dut/inspire'
0
9417
And param service = 'CSW'
0
9418
And param version = '2.0.2'
0
9419
And param request = 'GetRecordById'
0
9420
And param id = 'tbjk534p-wubf-crbp-cj25-d41611m0gfim'
1
9421
And param elementsetname = 'full'
0
9422
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9423
When method get
1935
9424
Then status 200
0
9425
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'tbjk534p-wubf-crbp-cj25-d41611m0gfim'
1
9426
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9427
* def title = get response //citation/CI_Citation/title/CharacterString
1
9428
* def email = get response //electronicMailAddress/CharacterString
1
9429
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9430
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
9431
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
9432
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
9433
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
9434
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
9435
* print organisationpath
0
06:40:01.040 [print] Rijkswaterstaat
9436
* print operateson
0
06:40:01.040 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&ID=tbjk534p-wubf-crbp-cj25-d4161160gfim&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
9437
* eval db.writeln('"tbjk534p-wubf-crbp-cj25-d41611m0gfim","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
9438
* eval db.writeln('"tbjk534p-wubf-crbp-cj25-d41611m0gfim","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.287:18]tn-2c7040b-c448-451b-bf15-f2416etaadd1
ms: 1740
>>
Background:
9439
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
9440
* def mystorage = Java.type('storage.DataStorage')
3
9441
* def db = new mystorage
1
9442
* def db = db.setfeature(karate.info.featureFileName)
1
9443
* def separator = java.lang.System.getProperty("file.separator")
1
9444
* def outputpath = db.outputpath()
1
9445
* eval db.ensureDirectory(outputpath)
1
9446
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9447
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9448
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9449
Given path 'geonetwork/srv/dut/inspire'
0
9450
And param service = 'CSW'
0
9451
And param version = '2.0.2'
0
9452
And param request = 'GetRecordById'
0
9453
And param id = 'tn-2c7040b-c448-451b-bf15-f2416etaadd1'
0
9454
And param elementsetname = 'full'
0
9455
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9456
When method get
1731
9457
Then status 200
0
9458
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'tn-2c7040b-c448-451b-bf15-f2416etaadd1'
1
9459
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9460
* def title = get response //citation/CI_Citation/title/CharacterString
0
9461
* def email = get response //electronicMailAddress/CharacterString
0
9462
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9463
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9464
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9465
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9466
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9467
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9468
* print organisationpath
0
06:40:01.059 [print] Rijkswaterstaat
9469
* print operateson
0
06:40:01.059 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=eu-2c7040b-c448-451b-bf15-f2416ecaadd1#MD_DataIdentification
9470
* eval db.writeln('"tn-2c7040b-c448-451b-bf15-f2416etaadd1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
9471
* eval db.writeln('"tn-2c7040b-c448-451b-bf15-f2416etaadd1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.288:18]tn-2c7040b-c448-451b-bf15-f2416efaadd1
ms: 1837
>>
Background:
9472
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
9473
* def mystorage = Java.type('storage.DataStorage')
3
9474
* def db = new mystorage
1
9475
* def db = db.setfeature(karate.info.featureFileName)
1
9476
* def separator = java.lang.System.getProperty("file.separator")
1
9477
* def outputpath = db.outputpath()
1
9478
* eval db.ensureDirectory(outputpath)
1
9479
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9480
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9481
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9482
Given path 'geonetwork/srv/dut/inspire'
1
9483
And param service = 'CSW'
0
9484
And param version = '2.0.2'
0
9485
And param request = 'GetRecordById'
0
9486
And param id = 'tn-2c7040b-c448-451b-bf15-f2416efaadd1'
1
9487
And param elementsetname = 'full'
0
9488
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9489
When method get
1823
9490
Then status 200
0
9491
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'tn-2c7040b-c448-451b-bf15-f2416efaadd1'
2
9492
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9493
* def title = get response //citation/CI_Citation/title/CharacterString
1
9494
* def email = get response //electronicMailAddress/CharacterString
1
9495
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9496
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
9497
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
9498
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
9499
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
9500
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
9501
* print organisationpath
0
06:40:01.199 [print] Rijkswaterstaat
9502
* print operateson
0
06:40:01.199 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=eu-2c7040b-c448-451b-bf15-f2416ecaadd1#MD_DataIdentification
9503
* eval db.writeln('"tn-2c7040b-c448-451b-bf15-f2416efaadd1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
9504
* eval db.writeln('"tn-2c7040b-c448-451b-bf15-f2416efaadd1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.289:18]tn-2c7040b-c448-451b-bf15-f2416emaadd1
ms: 2060
>>
Background:
9505
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
9506
* def mystorage = Java.type('storage.DataStorage')
3
9507
* def db = new mystorage
1
9508
* def db = db.setfeature(karate.info.featureFileName)
1
9509
* def separator = java.lang.System.getProperty("file.separator")
1
9510
* def outputpath = db.outputpath()
1
9511
* eval db.ensureDirectory(outputpath)
1
9512
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9513
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9514
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9515
Given path 'geonetwork/srv/dut/inspire'
1
9516
And param service = 'CSW'
0
9517
And param version = '2.0.2'
0
9518
And param request = 'GetRecordById'
0
9519
And param id = 'tn-2c7040b-c448-451b-bf15-f2416emaadd1'
0
9520
And param elementsetname = 'full'
0
9521
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9522
When method get
2034
9523
Then status 200
0
9524
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'tn-2c7040b-c448-451b-bf15-f2416emaadd1'
1
9525
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9526
* def title = get response //citation/CI_Citation/title/CharacterString
1
9527
* def email = get response //electronicMailAddress/CharacterString
1
9528
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9529
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
9530
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
9531
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
9532
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
6
9533
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
9534
* print organisationpath
0
06:40:01.426 [print] Rijkswaterstaat
9535
* print operateson
0
06:40:01.426 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=eu-2c7040b-c448-451b-bf15-f2416ecaadd1#MD_DataIdentification
9536
* eval db.writeln('"tn-2c7040b-c448-451b-bf15-f2416emaadd1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
10
9537
* eval db.writeln('"tn-2c7040b-c448-451b-bf15-f2416emaadd1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.290:18]cf69ec50-9849-4afd-853c-ee5621fd336d
ms: 1942
>>
Background:
9538
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
9539
* def mystorage = Java.type('storage.DataStorage')
3
9540
* def db = new mystorage
1
9541
* def db = db.setfeature(karate.info.featureFileName)
1
9542
* def separator = java.lang.System.getProperty("file.separator")
1
9543
* def outputpath = db.outputpath()
1
9544
* eval db.ensureDirectory(outputpath)
1
9545
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9546
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9547
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9548
Given path 'geonetwork/srv/dut/inspire'
0
9549
And param service = 'CSW'
0
9550
And param version = '2.0.2'
0
9551
And param request = 'GetRecordById'
0
9552
And param id = 'cf69ec50-9849-4afd-853c-ee5621fd336d'
0
9553
And param elementsetname = 'full'
0
9554
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9555
When method get
1930
9556
Then status 200
0
9557
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'cf69ec50-9849-4afd-853c-ee5621fd336d'
2
9558
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9559
* def title = get response //citation/CI_Citation/title/CharacterString
0
9560
* def email = get response //electronicMailAddress/CharacterString
0
9561
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9562
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9563
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9564
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
9565
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
9566
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
9567
* print organisationpath
0
06:40:01.402 [print] Rijkswaterstaat
9568
* print operateson
0
06:40:01.402 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&ID=cf69ec50-9849-4afd-853c-ee56211d336d&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
9569
* eval db.writeln('"cf69ec50-9849-4afd-853c-ee5621fd336d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
9570
* eval db.writeln('"cf69ec50-9849-4afd-853c-ee5621fd336d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.291:18]f5660ac6-8031-4acc-832c-1d1b82b062ba
ms: 1901
>>
Background:
9571
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
9572
* def mystorage = Java.type('storage.DataStorage')
3
9573
* def db = new mystorage
1
9574
* def db = db.setfeature(karate.info.featureFileName)
1
9575
* def separator = java.lang.System.getProperty("file.separator")
1
9576
* def outputpath = db.outputpath()
1
9577
* eval db.ensureDirectory(outputpath)
1
9578
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9579
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9580
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9581
Given path 'geonetwork/srv/dut/inspire'
0
9582
And param service = 'CSW'
0
9583
And param version = '2.0.2'
0
9584
And param request = 'GetRecordById'
0
9585
And param id = 'f5660ac6-8031-4acc-832c-1d1b82b062ba'
1
9586
And param elementsetname = 'full'
0
9587
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9588
When method get
1891
9589
Then status 200
0
9590
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f5660ac6-8031-4acc-832c-1d1b82b062ba'
1
9591
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9592
* def title = get response //citation/CI_Citation/title/CharacterString
0
9593
* def email = get response //electronicMailAddress/CharacterString
0
9594
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9595
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9596
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9597
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9598
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9599
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9600
* print organisationpath
0
06:40:01.423 [print] TNO Geologische Dienst Nederland
9601
* print operateson
0
06:40:01.423 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=11a292bd-9022-4a9f-b1bf-02f5c89ad74a&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
9602
* eval db.writeln('"f5660ac6-8031-4acc-832c-1d1b82b062ba","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
9603
* eval db.writeln('"f5660ac6-8031-4acc-832c-1d1b82b062ba","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.292:18]68ebd5c9-0ea1-4f22-9907-ec4c06mcd3e2
ms: 1921
>>
Background:
9604
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
9605
* def mystorage = Java.type('storage.DataStorage')
3
9606
* def db = new mystorage
1
9607
* def db = db.setfeature(karate.info.featureFileName)
1
9608
* def separator = java.lang.System.getProperty("file.separator")
1
9609
* def outputpath = db.outputpath()
1
9610
* eval db.ensureDirectory(outputpath)
1
9611
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9612
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9613
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9614
Given path 'geonetwork/srv/dut/inspire'
0
9615
And param service = 'CSW'
0
9616
And param version = '2.0.2'
0
9617
And param request = 'GetRecordById'
0
9618
And param id = '68ebd5c9-0ea1-4f22-9907-ec4c06mcd3e2'
0
9619
And param elementsetname = 'full'
0
9620
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9621
When method get
1910
9622
Then status 200
0
9623
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '68ebd5c9-0ea1-4f22-9907-ec4c06mcd3e2'
2
9624
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9625
* def title = get response //citation/CI_Citation/title/CharacterString
1
9626
* def email = get response //electronicMailAddress/CharacterString
1
9627
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9628
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9629
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9630
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9631
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9632
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
9633
* print organisationpath
0
06:40:01.590 [print] Rijkswaterstaat
9634
* print operateson
0
06:40:01.590 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&ID=68ebd5c9-0ea1-4f22-9907-ec4c063cd3e2&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
9635
* eval db.writeln('"68ebd5c9-0ea1-4f22-9907-ec4c06mcd3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
9636
* eval db.writeln('"68ebd5c9-0ea1-4f22-9907-ec4c06mcd3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.293:18]68ebd5c9-0ea1-4f22-9907-ec4c06fcd3e2
ms: 1936
>>
Background:
9637
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
9638
* def mystorage = Java.type('storage.DataStorage')
3
9639
* def db = new mystorage
1
9640
* def db = db.setfeature(karate.info.featureFileName)
1
9641
* def separator = java.lang.System.getProperty("file.separator")
1
9642
* def outputpath = db.outputpath()
1
9643
* eval db.ensureDirectory(outputpath)
1
9644
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9645
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9646
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9647
Given path 'geonetwork/srv/dut/inspire'
0
9648
And param service = 'CSW'
0
9649
And param version = '2.0.2'
0
9650
And param request = 'GetRecordById'
0
9651
And param id = '68ebd5c9-0ea1-4f22-9907-ec4c06fcd3e2'
0
9652
And param elementsetname = 'full'
0
9653
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9654
When method get
1925
9655
Then status 200
0
9656
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '68ebd5c9-0ea1-4f22-9907-ec4c06fcd3e2'
2
9657
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9658
* def title = get response //citation/CI_Citation/title/CharacterString
1
9659
* def email = get response //electronicMailAddress/CharacterString
1
9660
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9661
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9662
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9663
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9664
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9665
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
9666
* print organisationpath
0
06:40:01.616 [print] Rijkswaterstaat
9667
* print operateson
0
06:40:01.616 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&ID=68ebd5c9-0ea1-4f22-9907-ec4c063cd3e2&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
9668
* eval db.writeln('"68ebd5c9-0ea1-4f22-9907-ec4c06fcd3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
9669
* eval db.writeln('"68ebd5c9-0ea1-4f22-9907-ec4c06fcd3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.294:18]cf69ec50-9849-4afd-853c-ee5621md336d
ms: 1890
>>
Background:
9670
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
9671
* def mystorage = Java.type('storage.DataStorage')
3
9672
* def db = new mystorage
1
9673
* def db = db.setfeature(karate.info.featureFileName)
1
9674
* def separator = java.lang.System.getProperty("file.separator")
1
9675
* def outputpath = db.outputpath()
1
9676
* eval db.ensureDirectory(outputpath)
1
9677
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9678
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9679
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9680
Given path 'geonetwork/srv/dut/inspire'
0
9681
And param service = 'CSW'
0
9682
And param version = '2.0.2'
0
9683
And param request = 'GetRecordById'
0
9684
And param id = 'cf69ec50-9849-4afd-853c-ee5621md336d'
3
9685
And param elementsetname = 'full'
0
9686
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9687
When method get
1820
9688
Then status 200
0
9689
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'cf69ec50-9849-4afd-853c-ee5621md336d'
1
9690
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9691
* def title = get response //citation/CI_Citation/title/CharacterString
1
9692
* def email = get response //electronicMailAddress/CharacterString
0
9693
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9694
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
58
9695
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
9696
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
9697
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9698
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
9699
* print organisationpath
0
06:40:01.829 [print] Rijkswaterstaat
9700
* print operateson
0
06:40:01.829 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&ID=cf69ec50-9849-4afd-853c-ee56211d336d&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
9701
* eval db.writeln('"cf69ec50-9849-4afd-853c-ee5621md336d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
9702
* eval db.writeln('"cf69ec50-9849-4afd-853c-ee5621md336d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.295:18]1c0dcc64-91aa-4d44-a9e3-54355556f5e7
ms: 1787
>>
Background:
9703
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
9704
* def mystorage = Java.type('storage.DataStorage')
3
9705
* def db = new mystorage
1
9706
* def db = db.setfeature(karate.info.featureFileName)
1
9707
* def separator = java.lang.System.getProperty("file.separator")
1
9708
* def outputpath = db.outputpath()
1
9709
* eval db.ensureDirectory(outputpath)
1
9710
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9711
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9712
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9713
Given path 'geonetwork/srv/dut/inspire'
0
9714
And param service = 'CSW'
0
9715
And param version = '2.0.2'
0
9716
And param request = 'GetRecordById'
0
9717
And param id = '1c0dcc64-91aa-4d44-a9e3-54355556f5e7'
1
9718
And param elementsetname = 'full'
0
9719
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9720
When method get
1775
9721
Then status 200
0
9722
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1c0dcc64-91aa-4d44-a9e3-54355556f5e7'
2
9723
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9724
* def title = get response //citation/CI_Citation/title/CharacterString
1
9725
* def email = get response //electronicMailAddress/CharacterString
1
9726
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9727
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9728
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
9729
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9730
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9731
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
9732
* print organisationpath
0
06:40:01.726 [print] Beheer PDOK
9733
* print operateson
0
06:40:01.726 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=aa3b5e6e-7baa-40c0-8972-3353e927ec2f#MD_DataIdentification
9734
* eval db.writeln('"1c0dcc64-91aa-4d44-a9e3-54355556f5e7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
3
9735
* eval db.writeln('"1c0dcc64-91aa-4d44-a9e3-54355556f5e7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.296:18]6d2fce74-fb25-4322-ab25-1be8a3bc7fd0
ms: 2084
>>
Background:
9736
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
9737
* def mystorage = Java.type('storage.DataStorage')
3
9738
* def db = new mystorage
1
9739
* def db = db.setfeature(karate.info.featureFileName)
1
9740
* def separator = java.lang.System.getProperty("file.separator")
1
9741
* def outputpath = db.outputpath()
1
9742
* eval db.ensureDirectory(outputpath)
1
9743
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9744
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9745
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9746
Given path 'geonetwork/srv/dut/inspire'
0
9747
And param service = 'CSW'
0
9748
And param version = '2.0.2'
0
9749
And param request = 'GetRecordById'
0
9750
And param id = '6d2fce74-fb25-4322-ab25-1be8a3bc7fd0'
0
9751
And param elementsetname = 'full'
0
9752
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9753
When method get
2075
9754
Then status 200
0
9755
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6d2fce74-fb25-4322-ab25-1be8a3bc7fd0'
1
9756
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9757
* def title = get response //citation/CI_Citation/title/CharacterString
0
9758
* def email = get response //electronicMailAddress/CharacterString
0
9759
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9760
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9761
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9762
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9763
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9764
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9765
* print organisationpath
0
06:40:02.097 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
9766
* print operateson
0
06:40:02.097 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a322184d-6285-4856-bb78-f450b30ffc0e#MD_DataIdentification
9767
* eval db.writeln('"6d2fce74-fb25-4322-ab25-1be8a3bc7fd0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
9768
* eval db.writeln('"6d2fce74-fb25-4322-ab25-1be8a3bc7fd0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.297:18]17ad94f6-4961-448b-a6f5-5368b7870409
ms: 1921
>>
Background:
9769
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
9770
* def mystorage = Java.type('storage.DataStorage')
3
9771
* def db = new mystorage
1
9772
* def db = db.setfeature(karate.info.featureFileName)
1
9773
* def separator = java.lang.System.getProperty("file.separator")
1
9774
* def outputpath = db.outputpath()
1
9775
* eval db.ensureDirectory(outputpath)
1
9776
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9777
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9778
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9779
Given path 'geonetwork/srv/dut/inspire'
0
9780
And param service = 'CSW'
0
9781
And param version = '2.0.2'
0
9782
And param request = 'GetRecordById'
0
9783
And param id = '17ad94f6-4961-448b-a6f5-5368b7870409'
0
9784
And param elementsetname = 'full'
0
9785
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9786
When method get
1911
9787
Then status 200
0
9788
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '17ad94f6-4961-448b-a6f5-5368b7870409'
1
9789
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9790
* def title = get response //citation/CI_Citation/title/CharacterString
0
9791
* def email = get response //electronicMailAddress/CharacterString
0
9792
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9793
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9794
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9795
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
9796
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9797
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9798
* print organisationpath
0
06:40:01.995 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
9799
* print operateson
0
06:40:01.996 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a322184d-6285-4856-bb78-f450b30ffc0e#MD_DataIdentification
9800
* eval db.writeln('"17ad94f6-4961-448b-a6f5-5368b7870409","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
9801
* eval db.writeln('"17ad94f6-4961-448b-a6f5-5368b7870409","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.298:18]745968a3-37af-4406-988e-ec595f58c7fe
ms: 1928
>>
Background:
9802
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
9803
* def mystorage = Java.type('storage.DataStorage')
3
9804
* def db = new mystorage
1
9805
* def db = db.setfeature(karate.info.featureFileName)
1
9806
* def separator = java.lang.System.getProperty("file.separator")
1
9807
* def outputpath = db.outputpath()
1
9808
* eval db.ensureDirectory(outputpath)
1
9809
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9810
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9811
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9812
Given path 'geonetwork/srv/dut/inspire'
0
9813
And param service = 'CSW'
0
9814
And param version = '2.0.2'
0
9815
And param request = 'GetRecordById'
0
9816
And param id = '745968a3-37af-4406-988e-ec595f58c7fe'
1
9817
And param elementsetname = 'full'
1
9818
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9819
When method get
1917
9820
Then status 200
0
9821
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '745968a3-37af-4406-988e-ec595f58c7fe'
1
9822
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9823
* def title = get response //citation/CI_Citation/title/CharacterString
0
9824
* def email = get response //electronicMailAddress/CharacterString
0
9825
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9826
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9827
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9828
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9829
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9830
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9831
* print organisationpath
0
06:40:02.119 [print]
9832
* print operateson
0
06:40:02.119 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d24ccb35-e9d2-41bf-b231-43083fc0c76d#MD_DataIdentification
9833
* eval db.writeln('"745968a3-37af-4406-988e-ec595f58c7fe","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
9834
* eval db.writeln('"745968a3-37af-4406-988e-ec595f58c7fe","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.299:18]7b8f44b5-6eae-4113-a835-84b8678c3dd5
ms: 1988
>>
Background:
9835
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
9836
* def mystorage = Java.type('storage.DataStorage')
3
9837
* def db = new mystorage
1
9838
* def db = db.setfeature(karate.info.featureFileName)
1
9839
* def separator = java.lang.System.getProperty("file.separator")
1
9840
* def outputpath = db.outputpath()
1
9841
* eval db.ensureDirectory(outputpath)
1
9842
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9843
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9844
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9845
Given path 'geonetwork/srv/dut/inspire'
0
9846
And param service = 'CSW'
0
9847
And param version = '2.0.2'
0
9848
And param request = 'GetRecordById'
0
9849
And param id = '7b8f44b5-6eae-4113-a835-84b8678c3dd5'
1
9850
And param elementsetname = 'full'
0
9851
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9852
When method get
1979
9853
Then status 200
0
9854
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7b8f44b5-6eae-4113-a835-84b8678c3dd5'
1
9855
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9856
* def title = get response //citation/CI_Citation/title/CharacterString
0
9857
* def email = get response //electronicMailAddress/CharacterString
0
9858
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9859
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9860
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9861
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9862
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9863
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9864
* print organisationpath
0
06:40:02.188 [print] Beheer PDOK
9865
* print operateson
0
06:40:02.188 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=493ab81b-75f8-4205-b030-6b2fd9eb4295#MD_DataIdentification
9866
* eval db.writeln('"7b8f44b5-6eae-4113-a835-84b8678c3dd5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
9867
* eval db.writeln('"7b8f44b5-6eae-4113-a835-84b8678c3dd5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.300:18]0080a9ce-b836-45bc-8fdf-07dcbe97101d
ms: 2116
>>
Background:
9868
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
9869
* def mystorage = Java.type('storage.DataStorage')
3
9870
* def db = new mystorage
1
9871
* def db = db.setfeature(karate.info.featureFileName)
1
9872
* def separator = java.lang.System.getProperty("file.separator")
1
9873
* def outputpath = db.outputpath()
1
9874
* eval db.ensureDirectory(outputpath)
1
9875
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9876
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9877
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9878
Given path 'geonetwork/srv/dut/inspire'
1
9879
And param service = 'CSW'
0
9880
And param version = '2.0.2'
0
9881
And param request = 'GetRecordById'
0
9882
And param id = '0080a9ce-b836-45bc-8fdf-07dcbe97101d'
0
9883
And param elementsetname = 'full'
0
9884
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9885
When method get
2107
9886
Then status 200
0
9887
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0080a9ce-b836-45bc-8fdf-07dcbe97101d'
1
9888
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9889
* def title = get response //citation/CI_Citation/title/CharacterString
0
9890
* def email = get response //electronicMailAddress/CharacterString
0
9891
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9892
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9893
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9894
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9895
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9896
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9897
* print organisationpath
0
06:40:02.449 [print]
9898
* print operateson
0
06:40:02.449 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=493ab81b-75f8-4205-b030-6b2fd9eb4295&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
9899
* eval db.writeln('"0080a9ce-b836-45bc-8fdf-07dcbe97101d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
9900
* eval db.writeln('"0080a9ce-b836-45bc-8fdf-07dcbe97101d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.301:18]c35c7421-f3ef-4bfb-afcc-ca15d03b8e6f
ms: 2001
>>
Background:
9901
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
9902
* def mystorage = Java.type('storage.DataStorage')
3
9903
* def db = new mystorage
1
9904
* def db = db.setfeature(karate.info.featureFileName)
1
9905
* def separator = java.lang.System.getProperty("file.separator")
1
9906
* def outputpath = db.outputpath()
1
9907
* eval db.ensureDirectory(outputpath)
1
9908
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9909
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9910
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9911
Given path 'geonetwork/srv/dut/inspire'
1
9912
And param service = 'CSW'
0
9913
And param version = '2.0.2'
0
9914
And param request = 'GetRecordById'
0
9915
And param id = 'c35c7421-f3ef-4bfb-afcc-ca15d03b8e6f'
0
9916
And param elementsetname = 'full'
0
9917
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9918
When method get
1992
9919
Then status 200
0
9920
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c35c7421-f3ef-4bfb-afcc-ca15d03b8e6f'
1
9921
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9922
* def title = get response //citation/CI_Citation/title/CharacterString
0
9923
* def email = get response //electronicMailAddress/CharacterString
0
9924
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9925
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9926
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9927
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9928
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9929
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9930
* print organisationpath
0
06:40:02.481 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
9931
* print operateson
0
06:40:02.482 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c2225e5d-b46f-4e38-8445-ab10fd40c0dc#MD_DataIdentification
9932
* eval db.writeln('"c35c7421-f3ef-4bfb-afcc-ca15d03b8e6f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
9933
* eval db.writeln('"c35c7421-f3ef-4bfb-afcc-ca15d03b8e6f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.302:18]684ff4f6-1652-45a8-93f0-8e16d37b2a66
ms: 2101
>>
Background:
9934
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
9935
* def mystorage = Java.type('storage.DataStorage')
3
9936
* def db = new mystorage
1
9937
* def db = db.setfeature(karate.info.featureFileName)
1
9938
* def separator = java.lang.System.getProperty("file.separator")
1
9939
* def outputpath = db.outputpath()
1
9940
* eval db.ensureDirectory(outputpath)
1
9941
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9942
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9943
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9944
Given path 'geonetwork/srv/dut/inspire'
0
9945
And param service = 'CSW'
0
9946
And param version = '2.0.2'
0
9947
And param request = 'GetRecordById'
0
9948
And param id = '684ff4f6-1652-45a8-93f0-8e16d37b2a66'
1
9949
And param elementsetname = 'full'
0
9950
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9951
When method get
2091
9952
Then status 200
0
9953
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '684ff4f6-1652-45a8-93f0-8e16d37b2a66'
1
9954
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9955
* def title = get response //citation/CI_Citation/title/CharacterString
0
9956
* def email = get response //electronicMailAddress/CharacterString
0
9957
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9958
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
9959
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9960
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
9961
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9962
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9963
* print organisationpath
0
06:40:02.598 [print] Beheer PDOK
9964
* print operateson
0
06:40:02.598 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2d4ec7e6-50ae-4c71-bd20-5b9211e2135f#MD_DataIdentification
9965
* eval db.writeln('"684ff4f6-1652-45a8-93f0-8e16d37b2a66","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
9966
* eval db.writeln('"684ff4f6-1652-45a8-93f0-8e16d37b2a66","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.303:18]101a2cc7-bb53-4a16-98f9-bab1f4745b01
ms: 1908
>>
Background:
9967
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
9968
* def mystorage = Java.type('storage.DataStorage')
3
9969
* def db = new mystorage
1
9970
* def db = db.setfeature(karate.info.featureFileName)
1
9971
* def separator = java.lang.System.getProperty("file.separator")
1
9972
* def outputpath = db.outputpath()
1
9973
* eval db.ensureDirectory(outputpath)
1
9974
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9975
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9976
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9977
Given path 'geonetwork/srv/dut/inspire'
0
9978
And param service = 'CSW'
0
9979
And param version = '2.0.2'
0
9980
And param request = 'GetRecordById'
0
9981
And param id = '101a2cc7-bb53-4a16-98f9-bab1f4745b01'
1
9982
And param elementsetname = 'full'
0
9983
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9984
When method get
1896
9985
Then status 200
0
9986
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '101a2cc7-bb53-4a16-98f9-bab1f4745b01'
2
9987
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9988
* def title = get response //citation/CI_Citation/title/CharacterString
1
9989
* def email = get response //electronicMailAddress/CharacterString
0
9990
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9991
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9992
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
9993
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9994
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9995
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9996
* print organisationpath
0
06:40:02.421 [print] Beheer PDOK
9997
* print operateson
0
06:40:02.421 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=493ab81b-75f8-4205-b030-6b2fd9eb4295#MD_DataIdentification
9998
* eval db.writeln('"101a2cc7-bb53-4a16-98f9-bab1f4745b01","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
9999
* eval db.writeln('"101a2cc7-bb53-4a16-98f9-bab1f4745b01","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.304:18]a4c5aa6c-6c7f-45d7-9799-011edd83d9c2
ms: 2054
>>
Background:
10000
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
10001
* def mystorage = Java.type('storage.DataStorage')
3
10002
* def db = new mystorage
1
10003
* def db = db.setfeature(karate.info.featureFileName)
1
10004
* def separator = java.lang.System.getProperty("file.separator")
1
10005
* def outputpath = db.outputpath()
1
10006
* eval db.ensureDirectory(outputpath)
1
10007
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10008
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10009
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10010
Given path 'geonetwork/srv/dut/inspire'
0
10011
And param service = 'CSW'
0
10012
And param version = '2.0.2'
0
10013
And param request = 'GetRecordById'
0
10014
And param id = 'a4c5aa6c-6c7f-45d7-9799-011edd83d9c2'
0
10015
And param elementsetname = 'full'
0
10016
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10017
When method get
2044
10018
Then status 200
0
10019
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a4c5aa6c-6c7f-45d7-9799-011edd83d9c2'
1
10020
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
10021
* def title = get response //citation/CI_Citation/title/CharacterString
0
10022
* def email = get response //electronicMailAddress/CharacterString
0
10023
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
10024
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10025
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10026
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10027
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10028
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
10029
* print organisationpath
0
06:40:02.710 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
10030
* print operateson
0
06:40:02.710 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c2225e5d-b46f-4e38-8445-ab10fd40c0dc#MD_DataIdentification
10031
* eval db.writeln('"a4c5aa6c-6c7f-45d7-9799-011edd83d9c2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
10032
* eval db.writeln('"a4c5aa6c-6c7f-45d7-9799-011edd83d9c2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.305:18]e69bb2e9-eff4-4fb3-86a6-057cf628e761
ms: 2280
>>
Background:
10033
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
10034
* def mystorage = Java.type('storage.DataStorage')
3
10035
* def db = new mystorage
1
10036
* def db = db.setfeature(karate.info.featureFileName)
1
10037
* def separator = java.lang.System.getProperty("file.separator")
1
10038
* def outputpath = db.outputpath()
1
10039
* eval db.ensureDirectory(outputpath)
1
10040
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10041
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10042
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10043
Given path 'geonetwork/srv/dut/inspire'
0
10044
And param service = 'CSW'
0
10045
And param version = '2.0.2'
0
10046
And param request = 'GetRecordById'
0
10047
And param id = 'e69bb2e9-eff4-4fb3-86a6-057cf628e761'
0
10048
And param elementsetname = 'full'
0
10049
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10050
When method get
2205
10051
Then status 200
0
10052
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e69bb2e9-eff4-4fb3-86a6-057cf628e761'
11
10053
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
6
10054
* def title = get response //citation/CI_Citation/title/CharacterString
5
10055
* def email = get response //electronicMailAddress/CharacterString
6
10056
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
5
10057
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
3
10058
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
4
10059
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
5
10060
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
17
10061
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
6
10062
* print organisationpath
0
06:40:02.944 [print] Beheer PDOK
10063
* print operateson
0
06:40:02.944 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=fcefa13c-44e2-4953-b6d6-1ddceebc57fc#MD_DataIdentification
10064
* eval db.writeln('"e69bb2e9-eff4-4fb3-86a6-057cf628e761","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
10065
* eval db.writeln('"e69bb2e9-eff4-4fb3-86a6-057cf628e761","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.306:18]1d568785-efdd-429d-b491-56f785c3656a
ms: 2105
>>
Background:
10066
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
10067
* def mystorage = Java.type('storage.DataStorage')
3
10068
* def db = new mystorage
1
10069
* def db = db.setfeature(karate.info.featureFileName)
1
10070
* def separator = java.lang.System.getProperty("file.separator")
1
10071
* def outputpath = db.outputpath()
1
10072
* eval db.ensureDirectory(outputpath)
1
10073
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10074
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10075
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10076
Given path 'geonetwork/srv/dut/inspire'
0
10077
And param service = 'CSW'
0
10078
And param version = '2.0.2'
0
10079
And param request = 'GetRecordById'
0
10080
And param id = '1d568785-efdd-429d-b491-56f785c3656a'
1
10081
And param elementsetname = 'full'
0
10082
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10083
When method get
2095
10084
Then status 200
0
10085
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1d568785-efdd-429d-b491-56f785c3656a'
1
10086
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
10087
* def title = get response //citation/CI_Citation/title/CharacterString
0
10088
* def email = get response //electronicMailAddress/CharacterString
0
10089
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
10090
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10091
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10092
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10093
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10094
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
10095
* print organisationpath
0
06:40:02.795 [print] Beheer PDOK
10096
* print operateson
0
06:40:02.795 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=7dd1fd45-ace5-41e0-93a6-64e3be231717#MD_DataIdentification
10097
* eval db.writeln('"1d568785-efdd-429d-b491-56f785c3656a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
10098
* eval db.writeln('"1d568785-efdd-429d-b491-56f785c3656a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.307:18]c7dad4b9-42a8-452f-a33b-d4938ed22142
ms: 2078
>>
Background:
10099
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
10100
* def mystorage = Java.type('storage.DataStorage')
3
10101
* def db = new mystorage
1
10102
* def db = db.setfeature(karate.info.featureFileName)
1
10103
* def separator = java.lang.System.getProperty("file.separator")
1
10104
* def outputpath = db.outputpath()
1
10105
* eval db.ensureDirectory(outputpath)
1
10106
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10107
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10108
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10109
Given path 'geonetwork/srv/dut/inspire'
0
10110
And param service = 'CSW'
0
10111
And param version = '2.0.2'
0
10112
And param request = 'GetRecordById'
0
10113
And param id = 'c7dad4b9-42a8-452f-a33b-d4938ed22142'
1
10114
And param elementsetname = 'full'
0
10115
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10116
When method get
2061
10117
Then status 200
0
10118
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c7dad4b9-42a8-452f-a33b-d4938ed22142'
1
10119
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
6
10120
* def title = get response //citation/CI_Citation/title/CharacterString
0
10121
* def email = get response //electronicMailAddress/CharacterString
0
10122
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
10123
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
10124
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10125
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10126
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
10127
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
10128
* print organisationpath
0
06:40:02.863 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
10129
* print operateson
0
06:40:02.863 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f44dac86-2228-412f-8355-e56446ca9933#MD_DataIdentification
10130
* eval db.writeln('"c7dad4b9-42a8-452f-a33b-d4938ed22142","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
10131
* eval db.writeln('"c7dad4b9-42a8-452f-a33b-d4938ed22142","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.308:18]a12ae6ca-b755-4707-884f-95c0d66f431a
ms: 2008
>>
Background:
10132
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
10133
* def mystorage = Java.type('storage.DataStorage')
3
10134
* def db = new mystorage
1
10135
* def db = db.setfeature(karate.info.featureFileName)
1
10136
* def separator = java.lang.System.getProperty("file.separator")
1
10137
* def outputpath = db.outputpath()
1
10138
* eval db.ensureDirectory(outputpath)
1
10139
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10140
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10141
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10142
Given path 'geonetwork/srv/dut/inspire'
1
10143
And param service = 'CSW'
0
10144
And param version = '2.0.2'
0
10145
And param request = 'GetRecordById'
0
10146
And param id = 'a12ae6ca-b755-4707-884f-95c0d66f431a'
1
10147
And param elementsetname = 'full'
0
10148
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10149
When method get
1989
10150
Then status 200
0
10151
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a12ae6ca-b755-4707-884f-95c0d66f431a'
5
10152
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
10153
* def title = get response //citation/CI_Citation/title/CharacterString
0
10154
* def email = get response //electronicMailAddress/CharacterString
0
10155
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
10156
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
10157
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
10158
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
10159
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10160
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
10161
* print organisationpath
0
06:40:02.935 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
10162
* print operateson
0
06:40:02.936 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f44dac86-2228-412f-8355-e56446ca9933#MD_DataIdentification
10163
* eval db.writeln('"a12ae6ca-b755-4707-884f-95c0d66f431a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
4
10164
* eval db.writeln('"a12ae6ca-b755-4707-884f-95c0d66f431a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.309:18]0d2ca03b-fb7b-466a-bb93-e2bfb596e394
ms: 1954
>>
Background:
10165
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
10166
* def mystorage = Java.type('storage.DataStorage')
3
10167
* def db = new mystorage
1
10168
* def db = db.setfeature(karate.info.featureFileName)
1
10169
* def separator = java.lang.System.getProperty("file.separator")
1
10170
* def outputpath = db.outputpath()
1
10171
* eval db.ensureDirectory(outputpath)
1
10172
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10173
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10174
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10175
Given path 'geonetwork/srv/dut/inspire'
2
10176
And param service = 'CSW'
0
10177
And param version = '2.0.2'
0
10178
And param request = 'GetRecordById'
0
10179
And param id = '0d2ca03b-fb7b-466a-bb93-e2bfb596e394'
1
10180
And param elementsetname = 'full'
0
10181
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10182
When method get
1944
10183
Then status 200
0
10184
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0d2ca03b-fb7b-466a-bb93-e2bfb596e394'
1
10185
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
10186
* def title = get response //citation/CI_Citation/title/CharacterString
0
10187
* def email = get response //electronicMailAddress/CharacterString
0
10188
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
10189
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10190
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10191
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10192
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10193
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
10194
* print organisationpath
0
06:40:02.959 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
10195
* print operateson
0
06:40:02.959 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=f1d27179-36eb-4376-8048-f51d2eb23a09&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
10196
* eval db.writeln('"0d2ca03b-fb7b-466a-bb93-e2bfb596e394","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
10197
* eval db.writeln('"0d2ca03b-fb7b-466a-bb93-e2bfb596e394","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.310:18]87a382da-c6dc-403c-a006-2379eb6daaa6
ms: 1991
>>
Background:
10198
* url 'http://nationaalgeoregister.nl/'
1
06:39:37.699 karate.env system property was:
10199
* def mystorage = Java.type('storage.DataStorage')
3
10200
* def db = new mystorage
1
10201
* def db = db.setfeature(karate.info.featureFileName)
1
10202
* def separator = java.lang.System.getProperty("file.separator")
1
10203
* def outputpath = db.outputpath()
1
10204
* eval db.ensureDirectory(outputpath)
1
10205
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10206
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10207
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10208
Given path 'geonetwork/srv/dut/inspire'
0
10209
And param service = 'CSW'
0
10210
And param version = '2.0.2'
0
10211
And param request = 'GetRecordById'
0
10212
And param id = '87a382da-c6dc-403c-a006-2379eb6daaa6'
1
10213
And param elementsetname = 'full'
0
10214
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10215
When method get
1982
10216
Then status 200
0
10217
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '87a382da-c6dc-403c-a006-2379eb6daaa6'
1
10218
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
10219
* def title = get response //citation/CI_Citation/title/CharacterString
0
10220
* def email = get response //electronicMailAddress/CharacterString
0
10221
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
10222
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10223
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10224
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10225
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10226
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
10227
* print organisationpath
0
06:40:03.031 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
10228
* print operateson
0
06:40:03.031 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=f1d27179-36eb-4376-8048-f51d2eb23a09&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
10229
* eval db.writeln('"87a382da-c6dc-403c-a006-2379eb6daaa6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
10230
* eval db.writeln('"87a382da-c6dc-403c-a006-2379eb6daaa6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.1:57]dd49e02c-ea87-4ffc-89dd-f888608d95b7
ms: 1873
>>
Background:
10231
* url 'http://nationaalgeoregister.nl/'
1
06:40:01.070 karate.env system property was:
10232
* def mystorage = Java.type('storage.DataStorage')
1
10233
* def db = new mystorage
1
10234
* def db = db.setfeature(karate.info.featureFileName)
1
10235
* def separator = java.lang.System.getProperty("file.separator")
1
10236
* def outputpath = db.outputpath()
1
10237
* eval db.ensureDirectory(outputpath)
1
10238
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10239
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10240
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10241
Given path 'geonetwork/srv/dut/inspire'
0
10242
And param service = 'CSW'
0
10243
And param version = '2.0.2'
0
10244
And param request = 'GetRecordById'
0
10245
And param id = 'dd49e02c-ea87-4ffc-89dd-f888608d95b7'
0
10246
And param elementsetname = 'full'
0
10247
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10248
When method get
1843
10249
Then status 200
0
10250
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'dd49e02c-ea87-4ffc-89dd-f888608d95b7'
5
10251
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
10252
* def title = get response //citation/CI_Citation/title/CharacterString
0
10253
* def email = get response //electronicMailAddress/CharacterString
2
10254
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
10255
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10256
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10257
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10258
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10259
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
10260
* print organisationpath
0
06:40:02.934 [print] Beheer PDOK
10261
* print operateson
0
06:40:02.935 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4961d305-fbb5-426a-9ba3-53e1ca5f3b18
10262
* eval db.writeln('"dd49e02c-ea87-4ffc-89dd-f888608d95b7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
6
10263
* eval db.writeln('"dd49e02c-ea87-4ffc-89dd-f888608d95b7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4